diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java index c8864bfd8..036f5de92 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java @@ -42,8 +42,10 @@ public class SysLogController extends BaseController { * @return 所有数据 */ @GetMapping - public ResponseObject selectAll(Page page, SysLog sysLog) { + public ResponseObject selectAll(@RequestParam(value = "pageNum",defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize",defaultValue = "10") Integer pageSize, SysLog sysLog) { LambdaQueryWrapper sysLogLambdaQueryWrapper = new LambdaQueryWrapper(); + Page page =new Page(pageNo,pageSize); if (!StringUtils.isEmpty(sysLog.getCreateName())){ sysLogLambdaQueryWrapper.like(SysLog::getCreateName,sysLog.getCreateName()); }