Lius
2025-03-03 a3ca445facfebbe65d7133928eae1f9662451f6f
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>