记得上下班打卡 | git大法好,push需谨慎

Commit 025ee4fe authored by 张国柄's avatar 张国柄

用户常住地兼容处理;

parent 5a83fd0a
...@@ -128,6 +128,7 @@ public class AdamUserInfoServiceImpl implements IAdamUserInfoService { ...@@ -128,6 +128,7 @@ public class AdamUserInfoServiceImpl implements IAdamUserInfoService {
String area = parameter.getArea(), province = parameter.getProvince(), city = parameter.getCity(), county = parameter.getCounty(); String area = parameter.getArea(), province = parameter.getProvince(), city = parameter.getCity(), county = parameter.getCounty();
if (StringUtils.isNotEmpty(area) && !StringUtils.equals(existUserInfoVo.getArea(), area)) {// 调整前的版本兼容处理,不强更APP if (StringUtils.isNotEmpty(area) && !StringUtils.equals(existUserInfoVo.getArea(), area)) {// 调整前的版本兼容处理,不强更APP
existUserInfoVo.setArea(area);
String[] areaArr = PATTERN_SPACE.split(area, 0); String[] areaArr = PATTERN_SPACE.split(area, 0);
for (int i = 0; i < areaArr.length; i++) { for (int i = 0; i < areaArr.length; i++) {
String areaTmp = areaArr[i]; String areaTmp = areaArr[i];
...@@ -144,7 +145,6 @@ public class AdamUserInfoServiceImpl implements IAdamUserInfoService { ...@@ -144,7 +145,6 @@ public class AdamUserInfoServiceImpl implements IAdamUserInfoService {
break; break;
case 2: case 2:
existUserInfoVo.setCounty(areaTmp); existUserInfoVo.setCounty(areaTmp);
existUserInfoVo.setArea(areaArr[0].concat("-").concat(areaArr[1]).concat("-").concat(areaTmp));
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment