| | |
| | | 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> |