| | |
| | | <if test="taskLabelReportingEvent.userId != null and taskLabelReportingEvent.userId != ''"> |
| | | AND jtlre.user_id = #{taskLabelReportingEvent.userId} |
| | | </if> |
| | | |
| | | <if test="taskLabelReportingEvent.houseCode != null and taskLabelReportingEvent.houseCode != ''"> |
| | | and jp.house_code = #{taskLabelReportingEvent.houseCode} |
| | | </if> |
| | | |
| | | <if test="taskLabelReportingEvent.eventType != null and taskLabelReportingEvent.eventType != ''"> |
| | | AND jtlre.event_type = #{taskLabelReportingEvent.eventType} |
| | | </if> |
| | |
| | | <when test="regionChildCodesList !=null and regionChildCodesList.size()>0"> |
| | | and |
| | | ( |
| | | jg.grid_code in |
| | | jg.community_code in |
| | | <foreach collection="regionChildCodesList" item="code" open="(" close=")" separator=","> |
| | | #{code} |
| | | </foreach> |