zx 5 місяців тому
батько
коміт
4a8336e8dd

+ 1 - 0
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportAppointmentDayMapper.xml

@@ -212,6 +212,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         op_org_nm
         from pdm_work_plan_in_place
         where data_dt >= #{startDate} and data_dt <= #{endDate}
+        GROUP BY op_org_nm
         ) ttt1,
         (select sum(1) absent_bad_sum,
         GROUP_CONCAT(to1.to_post_in_place_person_nm,';') AS absent_bad_detail