| | |
| | | and floor != '' |
| | | and house_name != '' |
| | | and doorplate_type = '户室牌' |
| | | and building_code = #{code} |
| | | and building_code = #{houseParam.code} |
| | | <include refid="filterHouseGrid"/> |
| | | ) |
| | | union all |
| | | ( |
| | |
| | | '' as realName,'' as roleType,2 as addressType |
| | | from jczz_doorplate_address |
| | | where 1=1 |
| | | and building_code = #{code} |
| | | and building_code = #{houseParam.code} |
| | | and building_name != '' |
| | | and (doorplate_type = '小门牌' or (doorplate_type = '中门牌' and address_level = 1)) |
| | | <include refid="filterHouseGrid"/> |
| | | ) |
| | | </select> |
| | | |
| | |
| | | IFNULL(CONCAT(doorplate_num,sub_door_plate_no), IF(doorplate_num IS NULL, sub_door_plate_no, doorplate_num)) as floor |
| | | from jczz_doorplate_address |
| | | where 1=1 |
| | | and street_ru_code = #{code} |
| | | and nei_code = #{name} |
| | | and street_ru_code = #{houseParam.code} |
| | | and nei_code = #{houseParam.name} |
| | | and aoi_code is null |
| | | <include refid="filterHouseGrid"/> |
| | | order by doorplate_num,sub_door_plate_no |
| | | </select> |
| | | |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <!--查询社区信息--> |
| | | <select id="getAllDoorplateAddress" resultType="org.springblade.modules.doorplateAddress.entity.DoorplateAddressEntity"> |
| | | select * from jczz_doorplate_address where nei_name = #{name} |
| | | </select> |
| | | |
| | | </mapper> |