Browse Source

add网格修改

dev_shibei_match
zxc 5 years ago
parent
commit
2855f69248
  1. 2
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java

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

@ -221,7 +221,7 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu
String customerId = customerAgencyDTO.getCustomerId();
gridCount.setCustomerId(customerId);
GridCountResultDTO grid = operCrmOpenFeignClient.getGridCount(gridCount).getData();
if (grid.getGridCount().equals(NumConstant.ZERO)){
if (null == grid.getGridCount() || grid.getGridCount().equals(NumConstant.ZERO)) {
throw new RenException(EpmetErrorCode.GRID_COUNT_UP.getCode());
}
// 2. 判断当前客户下存在的网格数量

Loading…
Cancel
Save