|
@@ -48,6 +48,7 @@ public class BytedanceVideoReportCtrl {
|
|
String clip = requestBody.getString("clip");
|
|
String clip = requestBody.getString("clip");
|
|
String shot = requestBody.getString("shot");
|
|
String shot = requestBody.getString("shot");
|
|
String plan = requestBody.getString("plan");
|
|
String plan = requestBody.getString("plan");
|
|
|
|
+ String leader = requestBody.getString("leader");
|
|
String target = requestBody.getString("target");
|
|
String target = requestBody.getString("target");
|
|
String order = requestBody.getString("order");
|
|
String order = requestBody.getString("order");
|
|
int pageSize = requestBody.getInteger("pageSize");
|
|
int pageSize = requestBody.getInteger("pageSize");
|
|
@@ -57,7 +58,7 @@ public class BytedanceVideoReportCtrl {
|
|
if (accountIds.isEmpty()) {
|
|
if (accountIds.isEmpty()) {
|
|
accountIds = null;
|
|
accountIds = null;
|
|
}
|
|
}
|
|
- PageInfo<JSONObject> listData = bytedanceVideoReportService.getVideoReportBy(accountIds, startDate, endDate, filedAll, target, order, clip, shot, plan, pageSize, pageNo);
|
|
|
|
|
|
+ PageInfo<JSONObject> listData = bytedanceVideoReportService.getVideoReportBy(accountIds, startDate, endDate, filedAll, target, order, clip, shot, plan, leader, pageSize, pageNo);
|
|
result.setResult(listData);
|
|
result.setResult(listData);
|
|
result.setSuccess(true);
|
|
result.setSuccess(true);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
@@ -145,11 +146,12 @@ public class BytedanceVideoReportCtrl {
|
|
String clip = requestBody.getString("clip");
|
|
String clip = requestBody.getString("clip");
|
|
String shot = requestBody.getString("shot");
|
|
String shot = requestBody.getString("shot");
|
|
String plan = requestBody.getString("plan");
|
|
String plan = requestBody.getString("plan");
|
|
|
|
+ String leader = requestBody.getString("leader");
|
|
String target = requestBody.getString("target");
|
|
String target = requestBody.getString("target");
|
|
String order = requestBody.getString("order");
|
|
String order = requestBody.getString("order");
|
|
List<JSONObject> excelData = null;
|
|
List<JSONObject> excelData = null;
|
|
if ("exportTable".equals(exportType)) {
|
|
if ("exportTable".equals(exportType)) {
|
|
- excelData = bytedanceVideoReportService.exportExcelReportBy(accountIds, startDate, endDate, filed, target, order, clip, shot, plan);
|
|
|
|
|
|
+ excelData = bytedanceVideoReportService.exportExcelReportBy(accountIds, startDate, endDate, filed, target, order, clip, shot, plan, leader);
|
|
} else if ("exportDetail".equals(exportType)) {
|
|
} else if ("exportDetail".equals(exportType)) {
|
|
excelData = bytedanceVideoReportService.getVideoDetailBy(accountIds, startDate, endDate, filed, signature);
|
|
excelData = bytedanceVideoReportService.getVideoDetailBy(accountIds, startDate, endDate, filed, signature);
|
|
}
|
|
}
|