zx преди 5 месеца
родител
ревизия
4a8336e8dd
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportAppointmentDayMapper.xml

+ 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