|
@@ -59,17 +59,8 @@ public class KsVideoReportCtrl {
|
|
public Result<PageInfo<JSONObject>> getListReport(@RequestBody JSONObject requestBody) {
|
|
public Result<PageInfo<JSONObject>> getListReport(@RequestBody JSONObject requestBody) {
|
|
Result<PageInfo<JSONObject>> result = new Result<>();
|
|
Result<PageInfo<JSONObject>> result = new Result<>();
|
|
try {
|
|
try {
|
|
- if (Check.isNull(requestBody)) {
|
|
|
|
- new Exception("入参不能为空");
|
|
|
|
- }
|
|
|
|
int pageSize = requestBody.getInteger("pageSize");
|
|
int pageSize = requestBody.getInteger("pageSize");
|
|
- if (Check.isNull(pageSize)) {
|
|
|
|
- throw new Exception("请输入查询每页条数");
|
|
|
|
- }
|
|
|
|
int pageNo = requestBody.getInteger("pageNo");
|
|
int pageNo = requestBody.getInteger("pageNo");
|
|
- if (Check.isNull(pageNo)) {
|
|
|
|
- throw new Exception("请输入查询页数");
|
|
|
|
- }
|
|
|
|
String startDate = requestBody.getString("startDate");
|
|
String startDate = requestBody.getString("startDate");
|
|
if (Check.isNull(startDate)) {
|
|
if (Check.isNull(startDate)) {
|
|
throw new Exception("请输入查询开始时间");
|
|
throw new Exception("请输入查询开始时间");
|
|
@@ -79,7 +70,6 @@ public class KsVideoReportCtrl {
|
|
throw new Exception("请输入查询结束时间");
|
|
throw new Exception("请输入查询结束时间");
|
|
}
|
|
}
|
|
String filedAll = JsonResourceUtil.joinAllFiled(AccountReportConstants.kuaishouVideoReportMap);
|
|
String filedAll = JsonResourceUtil.joinAllFiled(AccountReportConstants.kuaishouVideoReportMap);
|
|
- // System.err.println(filedAll);
|
|
|
|
if (Check.isNull(filedAll)) {
|
|
if (Check.isNull(filedAll)) {
|
|
throw new Exception("初始化查询 字段返回为空");
|
|
throw new Exception("初始化查询 字段返回为空");
|
|
}
|
|
}
|