diff --git a/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenDifficultyDataDao.xml b/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenDifficultyDataDao.xml index 191cc4034a..f69c5fe41e 100644 --- a/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenDifficultyDataDao.xml +++ b/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenDifficultyDataDao.xml @@ -70,7 +70,7 @@ on(diff.ORG_ID=scg.GRID_ID and scg.DEL_FLAG='0') WHERE diff.DEL_FLAG = '0' - and diff.orgType='grid' + and diff.ORG_TYPE='grid' and diff.EVENT_STATUS_CODE in('pending','0') AND scg.AREA_CODE like concat(#{areaCode},'%') ORDER BY diff --git a/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPioneerDataDao.xml b/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPioneerDataDao.xml index 259f50c80f..b1f890b3a5 100644 --- a/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPioneerDataDao.xml +++ b/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPioneerDataDao.xml @@ -33,17 +33,17 @@ @@ -228,6 +231,9 @@ and t1.AGENCY_ID=#{communityId} + + and t1.TOPIC_USER_IS_PARTY = #{topicUserIsParty} + @@ -266,6 +272,9 @@ AND t1.ISSUE_STATUS = 'shift_project' AND t1.CUSTOMER_ID = #{customerId} and t1.PIDS LIKE CONCAT(#{agencyPath},'%') + + and t1.TOPIC_USER_IS_PARTY = #{topicUserIsParty} + @@ -189,6 +192,9 @@ and t1.PROJECT_STATUS=#{projectStatus} + + and t1.IS_PARTY=#{isParty} +