| | |
| | | <if test="place.updateTime != null ">and jpc.update_time = #{place.updateTime}</if> |
| | | <if test="place.createTime != null ">and jpc.create_time = #{place.createTime}</if> |
| | | <if test="place.houseCode != null and place.houseCode != ''">and jpc.house_code = #{place.houseCode}</if> |
| | | <if test="place.type != null and place.type != ''">and jpc.type = #{place.type}</if> |
| | | <if test="place.rectificationEndTime != null ">and jpc.rectification_end_time = |
| | | #{place.rectificationEndTime} |
| | | </if> |
| | |
| | | WHERE jp.jw_grid_code IN |
| | | (SELECT jpag.jw_grid_code FROM jczz_police_affairs_grid jpag WHERE jpag.police_user_id like concat('%',#{userId},'%') ) |
| | | AND jtpsc.`status` = 1 |
| | | AND jtpsc.`type` = #{type} |
| | | AND jg.community_code=#{neiCode} |
| | | </select> |
| | | |