|
|
|
@ -120,7 +120,6 @@ public class PoiStoreStaffService {
|
|
|
|
|
QueryWrapper<OpSellerCustomerRelation> wrapper2 = new QueryWrapper<>();
|
|
|
|
|
wrapper2.eq("store_id",shopId);
|
|
|
|
|
wrapper2.eq("user_id",poiStoreStaff.getUserId());
|
|
|
|
|
wrapper2.eq("type",1);
|
|
|
|
|
List<OpSellerCustomerRelation> opRelations = opSellerCustomerRelationDOMapper.selectList(wrapper2);
|
|
|
|
|
long count = opRelations.stream().map(OpSellerCustomerRelation::getCustomerId).distinct().count();
|
|
|
|
|
poiStoreStaffVO.setCustomerNum((int)count);
|
|
|
|
@ -261,7 +260,7 @@ public class PoiStoreStaffService {
|
|
|
|
|
String cpUserId = privilageCpUserStoreDOMapper.selectCpUserIdByStoreId(poiStoreStaffVO.getStoreId());
|
|
|
|
|
|
|
|
|
|
PoiStore poiStore = poiStoreDOMapper.selectById(poiStoreStaffVO.getStoreId());
|
|
|
|
|
|
|
|
|
|
poiStoreStaffVO.setStoreCode(poiStore.getCode());
|
|
|
|
|
|
|
|
|
|
String[] data = new String[1];
|
|
|
|
|
//选择店铺对应店长的编码
|
|
|
|
|