inspection-server/src/main/resources/mapper/InspectionMapper.xml
@@ -103,4 +103,22 @@ and inspection_status is null </if> </select> <!--查询该日期的原材料检验数量--> <select id="getMaterByDay" resultType="java.lang.Integer"> select count(id) from lims_laboratory.inspection where state = 1 and type = 0 and create_time = #{dayofWeek} </select> <!--查询该日期的成品检验数量--> <select id="getFinByDay" resultType="java.lang.Integer"> select count(id) from lims_laboratory.inspection where state = 1 and type in (1, 2) and create_time = #{dayofWeek} </select> </mapper>