| | |
| | | <if test="district.name !=null and district.name !=''"> |
| | | and jd.name like concat('%',#{district.name},'%') |
| | | </if> |
| | | <if test="district.communityName !=null and district.communityName !=''"> |
| | | and br.village_name like concat('%', #{district.communityName},'%') |
| | | </if> |
| | | <if test="district.communityCode !=null and district.communityCode !=''"> |
| | | and jd.community_code = #{district.communityCode} |
| | | </if> |
| | | <if test="district.townStreetName !=null and district.townStreetName !=''"> |
| | | and br.town_name like concat('%',#{district.townStreetName},'%') |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | name |
| | | from jczz_district |
| | | where is_deleted = 0 |
| | | <if test="district.districtIdList!=null and district.districtIdList!=''"> |
| | | and id in |
| | | <foreach collection="district.districtIdList" item="item" separator ="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | ) |
| | | </select> |
| | | |