客户和供应商的regionName使用行政区划的fullname

更新行政区划数据
master
toesbieya 6 years ago
parent 6f936d1c43
commit 1cff8d22b1
  1. 2
      java/cloud/web/web-modules/system/src/main/java/cn/toesbieya/jxc/system/service/CustomerService.java
  2. 2
      java/cloud/web/web-modules/system/src/main/java/cn/toesbieya/jxc/system/service/SupplierService.java
  3. BIN
      java/db/my.rar
  4. 2
      java/local/src/main/java/cn/toesbieya/jxc/service/sys/SysCustomerService.java
  5. 2
      java/local/src/main/java/cn/toesbieya/jxc/service/sys/SysSupplierService.java
  6. 2
      vue/public/static/json/region-pca.json

@ -78,7 +78,7 @@ public class CustomerService {
SysRegion matched = Util.find(regions, item -> customerVo.getRegion().equals(item.getId()));
if (matched != null) {
customerVo.setRegionName(matched.getName());
customerVo.setRegionName(matched.getFullname());
}
});

@ -77,7 +77,7 @@ public class SupplierService {
list.forEach(supplierVo -> {
SysRegion matched = Util.find(regions, item -> supplierVo.getRegion().equals(item.getId()));
if (matched != null) {
supplierVo.setRegionName(matched.getName());
supplierVo.setRegionName(matched.getFullname());
}
});

Binary file not shown.

@ -78,7 +78,7 @@ public class SysCustomerService {
SysRegion matched = Util.find(regions, item -> customerVo.getRegion().equals(item.getId()));
if (matched != null) {
customerVo.setRegionName(matched.getName());
customerVo.setRegionName(matched.getFullname());
}
});

@ -77,7 +77,7 @@ public class SysSupplierService {
list.forEach(supplierVo -> {
SysRegion matched = Util.find(regions, item -> supplierVo.getRegion().equals(item.getId()));
if (matched != null) {
supplierVo.setRegionName(matched.getName());
supplierVo.setRegionName(matched.getFullname());
}
});

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save