|
@@ -250,6 +250,7 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
} else {//是业务员
|
|
|
List<Long> authIdList = customerService.getAuthIdList();
|
|
|
if (authIdList.size() == 0) {
|
|
|
+ map.put("sumAmount", map.getOrDefault("sumAmount", BigDecimal.ZERO));
|
|
|
return map;
|
|
|
}
|
|
|
wrapper.in("t1", Contract::getBuyCorporationId, authIdList);
|