| | |
| | | <!--过滤网格数据--> |
| | | <sql id="filterHouseGrid"> |
| | | <if test="houseParam.roleName!=null and houseParam.roleName!=''"> |
| | | <if test="houseParam.roleName=='网格员'"> |
| | | <if test="houseParam.roleName=='网格员' and houseParam.userId!='1726859808689696770'"> |
| | | <choose> |
| | | <when test="list != null and list.size()>0"> |
| | | and address_code in |
| | |
| | | <select id="getRegionListByGroupTwon" resultType="org.springblade.common.node.TreeNode" > |
| | | select town_street_code as id,town_street_name as name from jczz_doorplate_address |
| | | where 1=1 |
| | | <if test="houseParam.userId!=null and houseParam.userId!='' and houseParam.userId=='1726859808689696770'"> |
| | | and nei_name = '万达社区居民委员会' |
| | | </if> |
| | | <include refid="filterHouseGrid"/> |
| | | group by town_street_code,town_street_name |
| | | </select> |
| | |
| | | <select id="getRegionListByGroupNei" resultType="org.springblade.common.node.TreeNode" > |
| | | select nei_code as id,nei_name as name,town_street_code as parentId from jczz_doorplate_address |
| | | where 1=1 |
| | | <if test="houseParam.userId!=null and houseParam.userId!='' and houseParam.userId=='1726859808689696770'"> |
| | | and nei_name = '万达社区居民委员会' |
| | | </if> |
| | | <include refid="filterHouseGrid"/> |
| | | group by nei_code,nei_name,town_street_code |
| | | </select> |