|
@@ -164,7 +164,8 @@ public class AgentIndexController {
|
|
|
List<AgentAppView> agentAppViews = agentAppService.searchAppIdList(appListParam);
|
|
List<AgentAppView> agentAppViews = agentAppService.searchAppIdList(appListParam);
|
|
|
ArrayList<String> list = new ArrayList<>();
|
|
ArrayList<String> list = new ArrayList<>();
|
|
|
if (CollUtil.isNotEmpty(agentAppViews)) {
|
|
if (CollUtil.isNotEmpty(agentAppViews)) {
|
|
|
- param.setApp_id_list(agentAppViews.stream().map(AgentAppView::getAppId).collect(Collectors.toList()));
|
|
|
|
|
|
|
+ //获取的是superiorId
|
|
|
|
|
+ param.setApp_id_list(agentAppViews.stream().map(AgentAppView::getSuperiorId).collect(Collectors.toList()));
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
param.setApp_id_list(list);
|
|
param.setApp_id_list(list);
|
|
@@ -336,7 +337,7 @@ public class AgentIndexController {
|
|
|
List<AgentAppView> agentAppViews = agentAppService.searchAppIdList(appListParam);
|
|
List<AgentAppView> agentAppViews = agentAppService.searchAppIdList(appListParam);
|
|
|
List<String> appIdList;
|
|
List<String> appIdList;
|
|
|
if (CollUtil.isNotEmpty(agentAppViews)){
|
|
if (CollUtil.isNotEmpty(agentAppViews)){
|
|
|
- appIdList = agentAppViews.stream().map(AgentAppView::getAppId).collect(Collectors.toList());
|
|
|
|
|
|
|
+ appIdList = agentAppViews.stream().map(AgentAppView::getSuperiorId).collect(Collectors.toList());
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
return Result.resultObjOk(indexHourReportViews);
|
|
return Result.resultObjOk(indexHourReportViews);
|
|
@@ -414,7 +415,7 @@ public class AgentIndexController {
|
|
|
List<String> appIdList = null;
|
|
List<String> appIdList = null;
|
|
|
List<AgentAppView> agentAppViews = agentAppService.searchAppIdList(appListParam);
|
|
List<AgentAppView> agentAppViews = agentAppService.searchAppIdList(appListParam);
|
|
|
if (CollUtil.isNotEmpty(agentAppViews)){
|
|
if (CollUtil.isNotEmpty(agentAppViews)){
|
|
|
- appIdList = agentAppViews.stream().map(AgentAppView::getAppId).collect(Collectors.toList());
|
|
|
|
|
|
|
+ appIdList = agentAppViews.stream().map(AgentAppView::getSuperiorId).collect(Collectors.toList());
|
|
|
}
|
|
}
|
|
|
processPeriodData(result, "today",
|
|
processPeriodData(result, "today",
|
|
|
DateUtil.getTodayStart(),
|
|
DateUtil.getTodayStart(),
|