|
|
|
@ -337,6 +337,18 @@ public class RetailCompanyService {
|
|
|
|
|
List<PoiStore> list1 = selectShopByCompany(org.getId());
|
|
|
|
|
List<Long> stores = list1.stream().map(PoiStore::getId).collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
|
if(CollectionUtils.isEmpty(stores)){
|
|
|
|
|
organizationalVO.setAllCustomer(0);
|
|
|
|
|
organizationalVO.setDelCustomer(0);
|
|
|
|
|
organizationalVO.setDelRate(0);
|
|
|
|
|
organizationalVO.setEffectiveCustomer(0);
|
|
|
|
|
organizationalVO.setAvgNewCustomer(0);
|
|
|
|
|
organizationalVO.setAvgNewEffectiveCustomer(0);
|
|
|
|
|
organizationalVO.setNewCustomer(0);
|
|
|
|
|
organizationalVO.setNewEffectiveCustomer(0);
|
|
|
|
|
list.add(organizationalVO);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// //根据门店查询导购人数
|
|
|
|
|
// QueryWrapper<PoiStoreStaff> wrapperStaff = new QueryWrapper<>();
|
|
|
|
|
// wrapperStaff.in("store_id",stores);
|
|
|
|
|