Commit c96f1ad2a096f3aa0f0a805322887e5830c95dce

Authored by jiangjiazhi
1 parent 67aefcf445

增加

Showing 1 changed file with 2 additions and 5 deletions

platform-data-api/src/main/java/com/lyms/platform/data/service/impl/DataImportTaskServiceImpl.java View file @ c96f1ad
... ... @@ -472,13 +472,10 @@
472 472  
473 473 private void updateCommunity(Patients patients) {
474 474 Assert.notNull(patients, "patient must not null.");
475   - //产后修养地
476   - patients.getAddressPostRest();
477   - patients.getProvincePostRestId();
478   - patients.getCityPostRestId();
479   - patients.getAreaPostRestId();
  475 +
480 476 CommunityQuery communityQuery = null;
481 477 CommunityConfig communityConfig = null;
  478 + //优先产后修养地,然后现住地址
482 479 if (StringUtils.isNotEmpty(patients.getAreaPostRestId()) && StringUtils.isNotEmpty(patients.getAddressPostRest())) {
483 480 communityQuery = new CommunityQuery();
484 481 communityQuery.setOrgAreaId(patients.getAreaPostRestId());