liupeng 4 years ago
parent
commit
aa0c5d4154

+ 3 - 0
code/sapparent/sapcms/src/main/java/org/fouram/controller/ApiController.java

@@ -316,6 +316,9 @@ public class ApiController extends BaseController {
 		if (StringUtils.isBlank(dto.getEndDate())) {
 			return ResultUtil.error("结束日期不可以为空");
 		}
+		// 清空分页查询
+		dto.setPageNumber(null);
+		dto.setPageSize(null);
 		String ysFilePath = "/public/excel/userReport.xlsx";
 		// 汇总
 		String hzFilePath = "/public/excel/userReport" + DateUtil.getTimeStamp() + ".xlsx";