add
gdg
2021-01-25 8fca402ad743c884d106c0977cb792ca26bd5617
src/main/java/com/nanometer/smartlab/dao/OpeReagentStatusDao.xml
@@ -434,4 +434,18 @@
   and valid_flag = 1
   ORDER BY update_time
</select>
    <select id="countReagentByArticleAndWarehouse" resultType="java.lang.Integer">
      select count(*)
      from ope_reagent_status
      WHERE status = 1
      <if test="reagentId != null and reagentId !=''">
         and reagent_id = #{reagentId}
      </if>
      <if test="articleNumber != null and articleNumber !=''">
         and article_number = #{articleNumber}
      </if>
      <if test="warehouseId != null and warehouseId !=''">
         and house_id = #{warehouseId}
      </if>
   </select>
</mapper>