|
|
|
@ -318,7 +318,7 @@ public class RetailCompanyService {
|
|
|
|
|
List<PrivilageOrganizational> listOfOrg = listOfRetailCompanyPage(userId, null,orgId,pageNum,pageSize);
|
|
|
|
|
|
|
|
|
|
List<RetailOrganizationalVO> list = new ArrayList<>();
|
|
|
|
|
listOfOrg.parallelStream().forEach(org -> {
|
|
|
|
|
listOfOrg.forEach(org -> {
|
|
|
|
|
RetailOrganizationalVO organizationalVO = new RetailOrganizationalVO();
|
|
|
|
|
organizationalVO.setRetailCompany(org.getName());
|
|
|
|
|
|
|
|
|
@ -528,7 +528,7 @@ public class RetailCompanyService {
|
|
|
|
|
Map<Long, Object> collect1 = map2 == null ? new HashMap<>() : map2.stream().collect(Collectors.toMap(m -> Long.parseLong(m.get("store_id").toString()), m1 -> m1.get("count")));
|
|
|
|
|
List<StoreOrganizationalVO> list1 = new ArrayList<>();
|
|
|
|
|
|
|
|
|
|
list.stream().parallel().forEach(li -> {
|
|
|
|
|
list.forEach(li -> {
|
|
|
|
|
QueryWrapper<PrivilageOrganizational> wrapperx = new QueryWrapper<>();
|
|
|
|
|
wrapperx.eq("id",li.getParentId()).eq("level",2).last("limit 1");
|
|
|
|
|
PrivilageOrganizational privilageOrganizational = retailCompanyMapper.selectOne(wrapperx);
|
|
|
|
@ -611,7 +611,7 @@ public class RetailCompanyService {
|
|
|
|
|
List<PoiStoreStaff> list1 = poiStoreStaffDOMapper.selectList(null);
|
|
|
|
|
Map<Long, PoiStoreStaff> map2 = list1.stream().collect(Collectors.toMap(PoiStoreStaff::getId, p -> p));
|
|
|
|
|
|
|
|
|
|
sellerIds.stream().parallel().forEach(seller -> {
|
|
|
|
|
sellerIds.forEach(seller -> {
|
|
|
|
|
SellerOrganizationalVO sellerOrganizationalVO = new SellerOrganizationalVO();
|
|
|
|
|
long count = 0;
|
|
|
|
|
//查询所有的客户
|
|
|
|
|