|
@ -250,7 +250,7 @@ |
|
|
WHERE |
|
|
WHERE |
|
|
diff.DEL_FLAG = '0' |
|
|
diff.DEL_FLAG = '0' |
|
|
AND diff.ALL_PARENT_IDS LIKE CONCAT('%',#{agencyId},'%') |
|
|
AND diff.ALL_PARENT_IDS LIKE CONCAT('%',#{agencyId},'%') |
|
|
<if test="status!= null"> |
|
|
<if test="status!= null and status != ''"> |
|
|
AND diff.EVENT_STATUS_CODE = #{status} |
|
|
AND diff.EVENT_STATUS_CODE = #{status} |
|
|
</if> |
|
|
</if> |
|
|
ORDER BY |
|
|
ORDER BY |
|
|