zhangherong
2025-05-09 140248961e5f865d48e850f8d6b10e3338171283
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml
@@ -96,4 +96,13 @@
          and err.del_flag = 0
        order by e.org_id, err.fault_start_time
    </select>
    <select id="faultTypeStatistics" resultType="org.jeecg.modules.eam.vo.FaultTypeStatisticsVO">
        select t.fault_type, count(1) as faultCount
        from eam_report_repair t
        where t.report_status != 'ABOLISH' and t.del_flag = 0
          and t.create_time &gt;= #{start}
          and t.create_time &lt; #{end}
        group by t.fault_type
    </select>
</mapper>