|
|
@ -62,7 +62,8 @@ public class DistributionServiceImpl implements DistributionService { |
|
|
|
if (null == branchCountFormDTO){ |
|
|
|
return new BranchCountResultDTO(); |
|
|
|
} |
|
|
|
branchCountResultDTO.setTotalNum(screenCustomerGridDao.selectBranchCount(branchCountFormDTO.getAgencyId())); |
|
|
|
Integer totalNum = screenCustomerGridDao.selectBranchCount(branchCountFormDTO.getAgencyId()); |
|
|
|
branchCountResultDTO.setTotalNum(null == totalNum ? NumConstant.ZERO : totalNum); |
|
|
|
return branchCountResultDTO; |
|
|
|
} |
|
|
|
|
|
|
|