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>