| | |
| | | */ |
| | | @ApiModelProperty(value = "图片URLS") |
| | | private String imageUrls; |
| | | |
| | | /** |
| | | * 经度 |
| | | */ |
| | | private String lng; |
| | | |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | private String lat; |
| | | |
| | | /** |
| | | * 地址 |
| | | */ |
| | | private String address; |
| | | /** |
| | | * 网格id |
| | | */ |
| | |
| | | <if test="house.neiName!=null and house.neiName!=''"> |
| | | and br.name like concat('%',#{house.neiName},'%') |
| | | </if> |
| | | <if test="house.address!=null and house.address!=''"> |
| | | and jh.address like concat('%',#{house.address},'%') |
| | | </if> |
| | | <if test="house.houseName != null and house.houseName != ''">and jh.house_name like |
| | | concat('%',#{house.houseName},'%') |
| | | </if> |
| | |
| | | <if test="propertyCompanyComment.propertyCompanyId!=null"> |
| | | and jpcc.property_company_id = #{propertyCompanyComment.propertyCompanyId} |
| | | </if> |
| | | <if test="propertyCompanyComment.checkStatus!=null"> |
| | | and jpcc.check_status = #{propertyCompanyComment.checkStatus} |
| | | </if> |
| | | </select> |
| | | |
| | | <!--自定义分页查询(递归)--> |
| | |
| | | <if test="propertyCompanyComment.propertyCompanyId!=null"> |
| | | and jpcc.property_company_id = #{propertyCompanyComment.propertyCompanyId} |
| | | </if> |
| | | <if test="propertyCompanyComment.checkStatus!=null"> |
| | | and jpcc.check_status = #{propertyCompanyComment.checkStatus} |
| | | </if> |
| | | </select> |
| | | |
| | | <!--递归查询--> |
| | |
| | | sort |
| | | FROM blade_region |
| | | where 1=1 |
| | | and district_code = '361102000000' |
| | | and district_code = '361102' |
| | | <if test="region.parentCode!=null and region.parentCode!=''"> |
| | | and parent_code = #{region.parentCode} |
| | | </if> |
| | |
| | | code as id, |
| | | parent_code as parentId, |
| | | name |
| | | FROM blade_region where district_code = '361102000000' |
| | | FROM blade_region where district_code = '361102' |
| | | and region_level = 4 |
| | | <if test="regionCode!=null and regionCode!=''"> |
| | | and code = #{regionCode} |
| | |
| | | code as id, |
| | | parent_code as parentId, |
| | | name |
| | | FROM blade_region where district_code = '361102000000' |
| | | FROM blade_region where district_code = '361102' |
| | | and region_level = 4 |
| | | <if test="regionCode!=null and regionCode!=''"> |
| | | and parent_code = #{regionCode} |
| | |
| | | String regionCode = null; |
| | | if (null != dept) { |
| | | regionCode = dept.getRegionCode(); |
| | | if (StringUtils.isNotBlank(regionCode) && regionCode.equals("361100000000")) { |
| | | regionCode = "361102000000"; |
| | | if (StringUtils.isNotBlank(regionCode) && regionCode.equals("361100")) { |
| | | regionCode = "361102"; |
| | | } |
| | | } |
| | | return NodeTreeUtil.getStringNodeTree(baseMapper.getTownTree(regionCode)); |