| | |
| | | and reagent_name = #{reagentname} |
| | | </if> |
| | | <if test="cas != null and cas != ''"> |
| | | and cas = #{cas} |
| | | and cas like concat("%",#{cas},"%") |
| | | </if> |
| | | <if test="code != null and code != ''"> |
| | | and code = #{code} |
| | |
| | | and reagent_name like concat("%",#{reagentname},"%") |
| | | </if> |
| | | <if test="cas != null and cas != ''"> |
| | | and cas = #{cas} |
| | | and cas like concat("%",#{cas},"%") |
| | | </if> |
| | | </where> |
| | | </select> |
| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="selectById" resultType="com.nanometer.smartlab.entity.DangerousEncode"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from sys_dangerous_encode |
| | | where id = #{id} |
| | | </select> |
| | | </mapper> |