Browse Source

add网格修改

master
zxc 5 years ago
parent
commit
1b9b66c89d
  1. 4
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java

4
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java

@ -221,6 +221,10 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu
String customerId = customerAgencyDTO.getCustomerId();
gridCount.setCustomerId(customerId);
GridCountResultDTO grid = operCrmOpenFeignClient.getGridCount(gridCount).getData();
log.info("客户信息为:" + grid);
if (null == grid) {
throw new RenException("未查出该客户信息");
}
if (null == grid.getGridCount() || grid.getGridCount().equals(NumConstant.ZERO)) {
throw new RenException(EpmetErrorCode.GRID_COUNT_UP.getCode());
}

Loading…
Cancel
Save