|
@@ -63,15 +63,13 @@ public class BytedanceNewPlanReportCtrl {
|
|
|
String target = requestBody.getString("target");
|
|
|
String order = requestBody.getString("order");
|
|
|
try {
|
|
|
- //JSONObject sumData = newPlanReportService.getSumNewPlanBy(accountIds, startDate, endDate);
|
|
|
- // List<JSONObject> chartData = newPlanReportService.getBytedanceNewPlanGroupByStatDate(accountIds, startDate, endDate);
|
|
|
- // List<JSONObject> listData = newPlanReportService.getBytedanceNewPlanGroupByAccount(accountIds, startDate, endDate, target, order);
|
|
|
-
|
|
|
- JSONObject sumData = newMonitorService.getPlanSum(accountIds, startDate, endDate, "0");
|
|
|
+ JSONObject sumData = newPlanReportService.getSumNewPlanBy(accountIds, startDate, endDate);
|
|
|
+ List<JSONObject> chartData = newPlanReportService.getBytedanceNewPlanGroupByStatDate(accountIds, startDate, endDate);
|
|
|
+ List<JSONObject> listData = newPlanReportService.getBytedanceNewPlanGroupByAccount(accountIds, startDate, endDate, target, order);
|
|
|
|
|
|
+ /* JSONObject sumData = newMonitorService.getPlanSum(accountIds, startDate, endDate, "0");
|
|
|
List<JSONObject> chartData = newMonitorService.getPlanMessageGroup(accountIds, startDate, endDate, "0");
|
|
|
-
|
|
|
- List<JSONObject> listData = newMonitorService.getPlanMessage(accountIds, startDate, endDate, target, "0");
|
|
|
+ List<JSONObject> listData = newMonitorService.getPlanMessage(accountIds, startDate, endDate, target, "0");*/
|
|
|
result.put("sumData", sumData);
|
|
|
result.put("chartData", chartData);
|
|
|
result.put("listData", listData);
|
|
@@ -120,7 +118,7 @@ public class BytedanceNewPlanReportCtrl {
|
|
|
excelList.add(temp);
|
|
|
});
|
|
|
try {
|
|
|
- String[] headers = {"账户名称","账户ID","账户所属人","新上计划数","有效计划数","最近上新时间"};
|
|
|
+ String[] headers = {"账户名称", "账户ID", "账户所属人", "新上计划数", "有效计划数", "最近上新时间"};
|
|
|
OutputStream os = response.getOutputStream();
|
|
|
ExportExcelUtils eeu = new ExportExcelUtils();
|
|
|
XSSFWorkbook workbook = new XSSFWorkbook();
|