|
@@ -105,7 +105,7 @@ public class ByteDanceVideoReportDailyServiceImpl extends ServiceImpl<ByteDanceV
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accountIdsList,signature,cost);
|
|
|
}else{
|
|
|
- List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(1,userId);
|
|
|
+ List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(userId);
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accoutnIds,signature,cost);
|
|
|
}
|
|
@@ -174,7 +174,7 @@ public class ByteDanceVideoReportDailyServiceImpl extends ServiceImpl<ByteDanceV
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accountIdsList,signature,cost);
|
|
|
}else{
|
|
|
- List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(1,userId);
|
|
|
+ List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(userId);
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accoutnIds,signature,cost);
|
|
|
}
|
|
@@ -242,7 +242,7 @@ public class ByteDanceVideoReportDailyServiceImpl extends ServiceImpl<ByteDanceV
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accountIdsList,signature,cost);
|
|
|
}else{
|
|
|
- List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(1,userId);
|
|
|
+ List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(userId);
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accoutnIds,signature,cost);
|
|
|
}
|
|
@@ -313,7 +313,7 @@ public class ByteDanceVideoReportDailyServiceImpl extends ServiceImpl<ByteDanceV
|
|
|
PageHelper.orderBy(sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accountIdsList,signature,cost);
|
|
|
}else{
|
|
|
- List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(1,userId);
|
|
|
+ List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(userId);
|
|
|
PageHelper.orderBy(sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accoutnIds,signature,cost);
|
|
|
}
|
|
@@ -364,7 +364,7 @@ public class ByteDanceVideoReportDailyServiceImpl extends ServiceImpl<ByteDanceV
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accountIdsList,signature,cost);
|
|
|
}else{
|
|
|
- List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(1,userId);
|
|
|
+ List<Long> accoutnIds= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(userId);
|
|
|
PageHelper.startPage(pageNo,pageSize,sort);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListGroupOperator(startDate,endDate,accoutnIds,signature,cost);
|
|
|
}
|
|
@@ -424,22 +424,11 @@ public class ByteDanceVideoReportDailyServiceImpl extends ServiceImpl<ByteDanceV
|
|
|
if (accountIdsList != null && !accountIdsList.isEmpty()){
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListDetailOperator(companyId, startDate,endDate,signature, accountIdsList);
|
|
|
}else{
|
|
|
- accountIdsList= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(1,userId);
|
|
|
+ accountIdsList= byteDanceVideoReportDailyMapper.getAccountIdsByOperatorIdAndMediaId(userId);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListDetailOperator(companyId, startDate,endDate,signature, accountIdsList);
|
|
|
}
|
|
|
- }else if(roleCode.equals("shot")){
|
|
|
- accountIdsList = byteDanceVideoReportDailyMapper.getAccountIds(companyId, signature);
|
|
|
- mList = byteDanceVideoReportDailyMapper.videoInfoListDetailDesign(companyId, startDate,endDate,signature, accountIdsList);
|
|
|
-
|
|
|
- }else if(roleCode.equals("plan")){
|
|
|
- accountIdsList = byteDanceVideoReportDailyMapper.getAccountIds(companyId, signature);
|
|
|
- mList = byteDanceVideoReportDailyMapper.videoInfoListDetailDesign(companyId, startDate,endDate,signature, accountIdsList);
|
|
|
- }else if(roleCode.equals("plane") || roleCode.equals("planeLeader")){
|
|
|
- accountIdsList = byteDanceVideoReportDailyMapper.getAccountIds(companyId, signature);
|
|
|
- mList = byteDanceVideoReportDailyMapper.videoInfoListDetailDesign(companyId, startDate,endDate,signature, accountIdsList);
|
|
|
- }else if(roleCode.equals("clip")){
|
|
|
- accountIdsList = byteDanceVideoReportDailyMapper.getAccountIds(companyId, signature);
|
|
|
- mList = byteDanceVideoReportDailyMapper.videoInfoListDetailDesign(companyId, startDate,endDate,signature, accountIdsList);
|
|
|
+ }else if(roleCode.equals("shot") || roleCode.equals("plan") || roleCode.equals("plane") || roleCode.equals("planeLeader") || roleCode.equals("clip") || roleCode.equals("designTeamLeader")){
|
|
|
+ mList = byteDanceVideoReportDailyMapper.videoInfoListDetailDesign(companyId, startDate, endDate, signature, accountIdsList);
|
|
|
}else if(roleCode.equals("designTeamLeader")){
|
|
|
accountIdsList = byteDanceVideoReportDailyMapper.getAccountIds(companyId, signature);
|
|
|
mList = byteDanceVideoReportDailyMapper.videoInfoListDetailDesign(companyId, startDate,endDate,signature, accountIdsList);
|