| | |
| | | <if test="townName!=null and townName!=''"> |
| | | and jda.town_street_name like concat('%',#{townName},'%') |
| | | </if> |
| | | limit 0,1000 |
| | | </select> |
| | | |
| | | <!--查询未入库的场所--> |
| | | <select id="getNotPlaceListCount" resultType="java.lang.Integer"> |
| | | select count(*) from jczz_doorplate_address jda |
| | | left join jczz_place jp on jda.address_code=jp.house_code and jp.is_deleted = 0 |
| | | where 1=1 |
| | | and (doorplate_type = '小门牌' or (doorplate_type = '中门牌' and address_level = 1)) |
| | | and jp.id is null |
| | | <if test="townName!=null and townName!=''"> |
| | | and jda.town_street_name like concat('%',#{townName},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <!--查询场所标准地址数据--> |