diff --git a/epmet-module/data-report/data-report-server/src/main/resources/mapper/plugins/ScreenWorkRecordOrgDailyDao.xml b/epmet-module/data-report/data-report-server/src/main/resources/mapper/plugins/ScreenWorkRecordOrgDailyDao.xml index 7d6a14c085..c3e3eaf85a 100644 --- a/epmet-module/data-report/data-report-server/src/main/resources/mapper/plugins/ScreenWorkRecordOrgDailyDao.xml +++ b/epmet-module/data-report/data-report-server/src/main/resources/mapper/plugins/ScreenWorkRecordOrgDailyDao.xml @@ -140,11 +140,11 @@ inner join screen_customer_grid scg on(m.ORG_ID=scg.grid_id and scg.DEL_FLAG='0' - AND scg.ALL_PARENT_IDS like concat('%',#{agencyId},'%') ) WHERE m.DEL_FLAG = '0' AND m.DATE_ID = #{dateId} + and m.org_id=#{gridId} AND m.TYPE_CODE IN #{typeCode}