Browse Source

双实居民录入pidsbug修改

master
zhaoqifeng 3 years ago
parent
commit
ec064f9631
  1. 7
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

7
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

@ -2509,10 +2509,13 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi
throw new EpmetException(EpmetErrorCode.ORG_ADD_FAILED.getCode(), errorMsg, errorMsg);
}
}
GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(houseInfo.getGridId());
if (null == gridInfo) {
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "查询网格信息失败", "查询网格信息失败");
}
dto.setCustomerId(houseInfo.getCustomerId());
dto.setAgencyId(houseInfo.getAgencyId());
dto.setPids(houseInfo.getAgencyPids());
dto.setPids(gridInfo.getPids());
dto.setGridId(houseInfo.getGridId());
dto.setVillageId(houseInfo.getNeighborHoodId());
dto.setBuildId(houseInfo.getBuildingId());

Loading…
Cancel
Save