|
|
@ -69,10 +69,10 @@ |
|
|
|
AND temp.grid_id = #{gridId} |
|
|
|
</if> |
|
|
|
<if test="streetId != null and streetId != ''"> |
|
|
|
AND temp.STREET_ID = #{streetId} |
|
|
|
AND find_in_set(#{streetId},temp.PARENT_DEPT_IDS) |
|
|
|
</if> |
|
|
|
<if test="communityId != null and communityId != ''"> |
|
|
|
AND temp.COMMUNITY_ID = #{communityId} |
|
|
|
AND find_in_set(#{communityId},temp.PARENT_DEPT_IDS) |
|
|
|
</if> |
|
|
|
AND temp.EVENT_STATE = 0 |
|
|
|
ORDER BY temp.CREATED_TIME DESC |
|
|
@ -95,10 +95,10 @@ |
|
|
|
AND temp.grid_id = #{gridId} |
|
|
|
</if> |
|
|
|
<if test="streetId != null and streetId != ''"> |
|
|
|
AND temp.STREET_ID = #{streetId} |
|
|
|
AND find_in_set(#{streetId},temp.PARENT_DEPT_IDS) |
|
|
|
</if> |
|
|
|
<if test="communityId != null and communityId != ''"> |
|
|
|
AND temp.COMMUNITY_ID = #{communityId} |
|
|
|
AND find_in_set(#{communityId},temp.PARENT_DEPT_IDS) |
|
|
|
</if> |
|
|
|
AND temp.EVENT_STATE = 2 |
|
|
|
ORDER BY |
|
|
|