Commit a77f3d2988426ad028c33c530048577e6b0be067

Authored by liquanyu
1 parent 33b39803c4

update

Showing 2 changed files with 6 additions and 1 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/BasicConfigService.java View file @ a77f3d2
... ... @@ -124,6 +124,11 @@
124 124  
125 125 public BaseObjectResponse getAddressItems(String address) {
126 126  
  127 + if (address.contains("山东省陵城区"))
  128 + {
  129 + address = address.replace("山东省陵城区","山东省德州市陵城区");
  130 + }
  131 +
127 132 Map<String, String> map = new HashMap<>();
128 133 System.out.println(address);
129 134 List<String> items = AddressUtil.getAddress(address);
platform-common/src/main/java/com/lyms/platform/common/utils/AddressUtil.java View file @ a77f3d2
... ... @@ -47,7 +47,7 @@
47 47 }
48 48  
49 49 public static void main(String[] ages) {
50   - List<String> addrs = AddressUtil.getAddress("四川省广安市广安区悦来镇天台村8组23号");
  50 + List<String> addrs = AddressUtil.getAddress("山东省陵城区陵城镇梧桐花园");
51 51 for (String ad : addrs) {
52 52 System.out.println(ad);
53 53 }