|
@ -620,7 +620,7 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
formDTO.setPageNo((formDTO.getPageNo() - 1) * formDTO.getPageSize()); |
|
|
formDTO.setPageNo((formDTO.getPageNo() - 1) * formDTO.getPageSize()); |
|
|
|
|
|
|
|
|
//地区编码如何是00结尾的则查询当前地区数据(实际业务不会存在,因为地区必须选到区县级)
|
|
|
//地区编码如何是00结尾的则查询当前地区数据(实际业务不会存在,因为地区必须选到区县级)
|
|
|
if (areaCode.endsWith(ModuleConstant.LAST_TWO_LETTER_OF_FORMATIVE_CITY_CODE)) { |
|
|
if (StringUtils.isNotBlank(areaCode) && areaCode.endsWith(ModuleConstant.LAST_TWO_LETTER_OF_FORMATIVE_CITY_CODE)) { |
|
|
//城市 - 查全部
|
|
|
//城市 - 查全部
|
|
|
formDTO.setAreaCode(areaCode.substring(0, areaCode.length() - 2)); |
|
|
formDTO.setAreaCode(areaCode.substring(0, areaCode.length() - 2)); |
|
|
List<PublicCustomerGridForStrangerResultDTO> gridList = baseDao.selectThirdGridByCityLike(formDTO); |
|
|
List<PublicCustomerGridForStrangerResultDTO> gridList = baseDao.selectThirdGridByCityLike(formDTO); |
|
@ -631,13 +631,13 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
//行政区 - 指定行政区在前,所属城市下其余行政区在后
|
|
|
//行政区 - 指定行政区在前,所属城市下其余行政区在后
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
map.put("customerId", formDTO.getCustomerId()); |
|
|
map.put("customerId", formDTO.getCustomerId()); |
|
|
//地区码格式 六位 [abcxyz]
|
|
|
/*//地区码格式 六位 [abcxyz]
|
|
|
//ab代表省
|
|
|
//ab代表省
|
|
|
map.put("areaCode", areaCode); |
|
|
map.put("areaCode", areaCode); |
|
|
//cx代表市
|
|
|
//cx代表市
|
|
|
map.put("cityCode", areaCode.substring(NumConstant.ZERO, areaCode.length() - NumConstant.TWO)); |
|
|
map.put("cityCode", areaCode.substring(NumConstant.ZERO, areaCode.length() - NumConstant.TWO)); |
|
|
//yz代表区
|
|
|
//yz代表区
|
|
|
map.put("provinceCode", areaCode.substring(NumConstant.ZERO, areaCode.length() - NumConstant.FOUR)); |
|
|
map.put("provinceCode", areaCode.substring(NumConstant.ZERO, areaCode.length() - NumConstant.FOUR));*/ |
|
|
map.put("pageSize", formDTO.getPageSize()); |
|
|
map.put("pageSize", formDTO.getPageSize()); |
|
|
map.put("pageNo", formDTO.getPageNo()); |
|
|
map.put("pageNo", formDTO.getPageNo()); |
|
|
|
|
|
|
|
|