|
@ -70,7 +70,7 @@ |
|
|
on(diff.ORG_ID=scg.GRID_ID and scg.DEL_FLAG='0') |
|
|
on(diff.ORG_ID=scg.GRID_ID and scg.DEL_FLAG='0') |
|
|
WHERE |
|
|
WHERE |
|
|
diff.DEL_FLAG = '0' |
|
|
diff.DEL_FLAG = '0' |
|
|
and diff.orgType='grid' |
|
|
and diff.ORG_TYPE='grid' |
|
|
and diff.EVENT_STATUS_CODE in('pending','0') |
|
|
and diff.EVENT_STATUS_CODE in('pending','0') |
|
|
AND scg.AREA_CODE like concat(#{areaCode},'%') |
|
|
AND scg.AREA_CODE like concat(#{areaCode},'%') |
|
|
ORDER BY |
|
|
ORDER BY |
|
|