|
@@ -108,6 +108,9 @@ public class KsVideoReportCtrl {
|
|
if (!Check.isNull(requestBody.getString("order"))) {
|
|
if (!Check.isNull(requestBody.getString("order"))) {
|
|
requestMap.put("order", requestBody.getString("order"));
|
|
requestMap.put("order", requestBody.getString("order"));
|
|
}
|
|
}
|
|
|
|
+ if (!Check.isNull(requestBody.getString("channelName"))) {
|
|
|
|
+ requestMap.put("channelName", requestBody.getString("channelName"));
|
|
|
|
+ }
|
|
PageInfo<JSONObject> listData = ksVideoReportService.getKuaiShouVideoPageReportByMap(requestMap, pageSize, pageNo);
|
|
PageInfo<JSONObject> listData = ksVideoReportService.getKuaiShouVideoPageReportByMap(requestMap, pageSize, pageNo);
|
|
if (Check.isNull(listData)) {
|
|
if (Check.isNull(listData)) {
|
|
throw new Exception("暂无素材相关信息,请检查账户");
|
|
throw new Exception("暂无素材相关信息,请检查账户");
|
|
@@ -290,6 +293,9 @@ public class KsVideoReportCtrl {
|
|
if (!Check.isNull(requestBody.getString("order"))) {
|
|
if (!Check.isNull(requestBody.getString("order"))) {
|
|
requestMap.put("order", requestBody.getString("order"));
|
|
requestMap.put("order", requestBody.getString("order"));
|
|
}
|
|
}
|
|
|
|
+ if (!Check.isNull(requestBody.getString("channelName"))) {
|
|
|
|
+ requestMap.put("channelName", requestBody.getString("channelName"));
|
|
|
|
+ }
|
|
|
|
|
|
JSONArray columns2 = new JSONArray();
|
|
JSONArray columns2 = new JSONArray();
|
|
columns2.add(0, "materialName");
|
|
columns2.add(0, "materialName");
|
|
@@ -321,7 +327,6 @@ public class KsVideoReportCtrl {
|
|
}
|
|
}
|
|
excelList.add(temp);
|
|
excelList.add(temp);
|
|
}
|
|
}
|
|
-
|
|
|
|
try {
|
|
try {
|
|
String[] strings = titles.toArray(new String[]{});
|
|
String[] strings = titles.toArray(new String[]{});
|
|
OutputStream os = response.getOutputStream();
|
|
OutputStream os = response.getOutputStream();
|
|
@@ -335,8 +340,6 @@ public class KsVideoReportCtrl {
|
|
} catch (IOException e) {
|
|
} catch (IOException e) {
|
|
log.error(e.getMessage());
|
|
log.error(e.getMessage());
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
result.setSuccess(true);
|
|
result.setSuccess(true);
|
|
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|