|
@@ -1303,7 +1303,11 @@ public class MaterialStareServiceImpl implements MaterialStareService {
|
|
|
//下级员工
|
|
|
Set<String> operatorUserIds = getAffiliateId(groupVo.getUserId());
|
|
|
//有消耗的账户
|
|
|
- //operatorUserIds = materialStareMapper.getBytedanceAllOperators(null,DateUtils.getDateInteger(startTime).longValue(),DateUtils.getDateInteger(endTime).longValue(),operatorUserIds);
|
|
|
+ operatorUserIds = materialStareMapper.getBytedanceAllOperators(null,DateUtils.getDateInteger(startTime).longValue(),DateUtils.getDateInteger(endTime).longValue(),operatorUserIds);
|
|
|
+
|
|
|
+ if (Check.isNull(operatorUserIds) || operatorUserIds.size() < 1){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
|
|
|
//运营数量
|
|
|
int operationNum = Check.isNull(operatorUserIds) ? 0 : operatorUserIds.size();
|
|
@@ -1418,7 +1422,11 @@ public class MaterialStareServiceImpl implements MaterialStareService {
|
|
|
//下级员工
|
|
|
Set<String> operatorUserIds = getAffiliateId(groupVo.getUserId());
|
|
|
//有消耗的账户
|
|
|
- //operatorUserIds = materialStareMapper.getBytedanceAllOperators(null,DateUtils.getDateInteger(startTime).longValue(),DateUtils.getDateInteger(endTime).longValue(),operatorUserIds);
|
|
|
+ operatorUserIds = materialStareMapper.getBytedanceAllOperators(null,DateUtils.getDateInteger(startTime).longValue(),DateUtils.getDateInteger(endTime).longValue(),operatorUserIds);
|
|
|
+
|
|
|
+ if (Check.isNull(operatorUserIds) || operatorUserIds.size() < 1){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
|
|
|
//运营数量
|
|
|
int operationNum = Check.isNull(operatorUserIds) ? 0 : operatorUserIds.size();
|