From dc23e0d702708887fbbcbea2e3914bb338313c3d Mon Sep 17 00:00:00 2001 From: liyawei Date: Fri, 22 Apr 2022 09:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81-=E5=8F=82=E6=95=B0=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF-=E5=88=A0=E9=99=A4=E8=AF=B7=E6=B1=82=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cert/template/controller/ParamsTemplateEOController.java | 5 ++--- .../template/service/impl/ParamsTemplateEOServiceImpl.java | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/controller/ParamsTemplateEOController.java b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/controller/ParamsTemplateEOController.java index 86dc3537d..4020eb4fe 100644 --- a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/controller/ParamsTemplateEOController.java +++ b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/controller/ParamsTemplateEOController.java @@ -54,7 +54,6 @@ public class ParamsTemplateEOController extends JeroController queryWrapper = QueryGenerator.initQueryWrapper(paramsTemplateEO, req.getParameterMap()); LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); queryWrapper.like(StringUtils.isNotEmpty(paramsTemplateEO.getParamsTemplateName()), ParamsTemplateEO::getParamsTemplateName, paramsTemplateEO.getParamsTemplateName()) .eq(StringUtils.isNotEmpty(paramsTemplateEO.getRegion()), ParamsTemplateEO::getRegion, paramsTemplateEO.getRegion()) @@ -114,7 +113,7 @@ public class ParamsTemplateEOController extends JeroController delete(@RequestParam(name="id",required=true) String id) { if (StringUtils.isBlank(id)) { return Result.error("删除数据不能为空"); @@ -131,7 +130,7 @@ public class ParamsTemplateEOController extends JeroController deleteBatch(@RequestParam(name="ids",required=true) String ids) { if (StringUtils.isBlank(ids)) { return Result.error("删除数据不能为空"); diff --git a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsTemplateEOServiceImpl.java b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsTemplateEOServiceImpl.java index d19ceba12..4c25e65b4 100644 --- a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsTemplateEOServiceImpl.java +++ b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/template/service/impl/ParamsTemplateEOServiceImpl.java @@ -27,6 +27,8 @@ public class ParamsTemplateEOServiceImpl extends ServiceImpl