|
@@ -74,7 +74,6 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
if("admin".equals(roleCode)){
|
|
|
projectList = dailyAccountMapper.queryProjectMemberByAdmins(mediaIds);
|
|
|
}else{
|
|
|
-
|
|
|
projectList = dailyAccountMapper.queryProjectInfoBySaleId(userId,mediaIds);
|
|
|
}
|
|
|
}
|
|
@@ -93,9 +92,9 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
List<Long> accountIds = null;
|
|
|
if(projectId == null){
|
|
|
if("admin".equals(roleCode)){
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin();
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin(0);
|
|
|
}else {
|
|
|
- accountIds = dailyAccountMapper.getSaleProjectAccountIds(userId);
|
|
|
+ accountIds = dailyAccountMapper.getSaleProjectAccountIds(userId,0);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -114,9 +113,9 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
List<Long> accountIds = null;
|
|
|
if(projectId == null){
|
|
|
if("admin".equals(roleCode)){
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin();
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin(0);
|
|
|
}else {
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIds(userId);
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIds(userId,0);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -134,9 +133,9 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
List<Long> accountIds = null;
|
|
|
if(accountId == null){
|
|
|
if("admin".equals(roleCode)){
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin();
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin(1);
|
|
|
}else {
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIds(userId);
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIds(userId,1);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -155,9 +154,9 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
List<Long> accountIds = null;
|
|
|
if(campaignId == null){
|
|
|
if("admin".equals(roleCode)){
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin();
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin(1);
|
|
|
}else {
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIds(userId);
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIds(userId,1);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -175,9 +174,9 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
List<Long> accountIds = null;
|
|
|
if(unitId == null){
|
|
|
if("admin".equals(roleCode)){
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin();
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIdsByAdmin(1);
|
|
|
}else {
|
|
|
- accountIds = dailyAccountMapper.getUserProjectAccountIds(userId);
|
|
|
+ accountIds = dailyAccountMapper.getUserProjectAccountIds(userId,1);
|
|
|
}
|
|
|
}
|
|
|
|