| | |
| | | and jp.principal_phone like concat('%',#{place.principalPhone},'%') |
| | | </if> |
| | | <if test="place.houseCode!=null and place.houseCode!=''"> |
| | | and jp.house_code = #{place.houseCode} |
| | | and jp.house_code like concat('%',#{place.houseCode},'%') |
| | | </if> |
| | | <if test="place.townStreetName!=null and place.townStreetName!=''"> |
| | | and br.town_name like concat('%',#{place.townStreetName},'%') |
| | |
| | | left join blade_region br on br.code = jg.community_code |
| | | where jp.is_deleted = 0 |
| | | <if test="place.houseCode!=null and place.houseCode!=''"> |
| | | and jp.house_code = #{place.houseCode} |
| | | and jp.house_code like concat('%',#{place.houseCode},'%') |
| | | </if> |
| | | <if test="place.id!=null"> |
| | | and jp.id = #{place.id} |