|
|
|
@ -260,6 +260,10 @@ public class CustomerViewService {
|
|
|
|
|
int tmpCount = shopIdCountMap.get(shopId) == null ? 0 : Math.toIntExact(shopIdCountMap.get(shopId));
|
|
|
|
|
newCustomerCount.updateAndGet(v -> v + tmpCount);
|
|
|
|
|
});
|
|
|
|
|
//平均
|
|
|
|
|
if(companyShopList.size() > 0){
|
|
|
|
|
newCustomerCount.updateAndGet(v -> Math.round(v / (float)companyShopList.size()));
|
|
|
|
|
}
|
|
|
|
|
orgViewDO.setNewCustomerCount(newCustomerCount.get());
|
|
|
|
|
tmpList.add(orgViewDO);
|
|
|
|
|
});
|
|
|
|
|