lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcRepairInfoMapper.xml
@@ -27,4 +27,24 @@ </where> ORDER BY the_date DESC, equipment_id ASC </select> <!--查询当月总维修时间--> <select id="findTotalRepairLong" resultType="java.math.BigDecimal"> SELECT SUM(repair_long) FROM mdc_repair_info WHERE the_date LIKE CONCAT(#{month}, '%') </select> <!--查询当月总维修次数--> <select id="findTotalRepairCount" resultType="java.lang.Integer"> SELECT COUNT(repair_long) FROM mdc_repair_info WHERE the_date LIKE CONCAT(#{month}, '%') </select> </mapper>