Lius
2025-03-04 79bb09af27e6b2e6b4b898af7a1922e9c82f8762
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcPartProcessInfoMapper.xml
@@ -33,4 +33,19 @@
        ORDER BY the_date DESC, equipment_id ASC
    </select>
    <!--查询设备某天总加工时间-->
    <select id="selectTotalProcessLong" resultType="java.lang.Integer">
        SELECT sum(total_process_long) FROM mdc_part_process_info WHERE equipment_id = #{equipmentId} AND the_date = #{validDate}
    </select>
    <!--查询设备某天总加工数量-->
    <select id="selectTotalProcessCount" resultType="java.lang.Integer">
        SELECT sum(process_count) FROM mdc_part_process_info WHERE equipment_id = #{equipmentId} AND the_date = #{validDate}
    </select>
    <!--查询设备某天总加工合格数量-->
    <select id="selectTotalPassCount" resultType="java.lang.Integer">
        SELECT sum(pass_count) FROM mdc_part_process_info WHERE equipment_id = #{equipmentId} AND the_date = #{validDate}
    </select>
</mapper>