| | |
| | | <if test="type != null"> |
| | | and sr.type = #{type} |
| | | </if> |
| | | <if test="productSn != null and productSn != ''"> |
| | | and sr.product_sn like concat("%", #{productSn} ,"%") |
| | | </if> |
| | | ORDER BY sr.create_time desc |
| | | <if test="first != null and pageSize != null"> |
| | | limit #{first}, #{pageSize} |
| | |
| | | <if test="type != null"> |
| | | and sr.type = #{type} |
| | | </if> |
| | | |
| | | <if test="productSn != null and productSn != ''"> |
| | | and sr.product_sn like concat("%", #{productSn} ,"%") |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="getReagentUnitByReagentId" parameterType="java.lang.String" resultType="java.lang.String"> |