From a73593d70d59af01bc6afcd55ba817e319d228df Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 09 一月 2023 17:26:18 +0800
Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_server
---
ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java b/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java
index f166b05..387901b 100644
--- a/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java
+++ b/ycl-platform/src/main/java/com/ycl/controller/writ/WritTemplateController.java
@@ -36,10 +36,10 @@
@GetMapping("/query")
@ApiOperation(value = "鏌ヨ")
@LogSave(operationType = "鏂囦功妯℃澘绠$悊", contain = "鏌ヨ鏂囦功妯℃澘")
- public CommonResult search(@RequestParam Integer size,
- @RequestParam Integer current,
+ public CommonResult search(@RequestParam Integer pageSize,
+ @RequestParam Integer currentPage,
@RequestParam(required = false) String name) {
- return CommonResult.success(iWritTemplateService.page(new Page<>(current, size), new LambdaQueryWrapper<WritTemplate>()
+ return CommonResult.success(iWritTemplateService.page(new Page<>(currentPage, pageSize), new LambdaQueryWrapper<WritTemplate>()
.like(StringUtils.isNotBlank(name), WritTemplate::getName, name)));
}
}
\ No newline at end of file
--
Gitblit v1.8.0