|
|
@ -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()); |
|
|
|
} |
|
|
|