From e0cf46de68b4119c14c1c0f139e33057b858015e Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 4 Jan 2024 16:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=83=BD=E5=8A=9B=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basicsskill/controller/BasicsskillController.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/controller/BasicsskillController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/controller/BasicsskillController.java index 555e3bbf..431e62b4 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/controller/BasicsskillController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/basicsskill/controller/BasicsskillController.java @@ -83,12 +83,16 @@ public class BasicsskillController extends JeecgController queryWrapper = QueryGenerator.initQueryWrapper(basicsskill, req.getParameterMap()); // 使用 eq 防止模糊查询 - queryWrapper.eq("pid", parentId); + //queryWrapper.eq("pid", parentId); Page page = new Page(pageNo, pageSize); IPage pageList = basicsskillService.page(page, queryWrapper); for(Basicsskill basicsskill1:pageList.getRecords()){ - if(basicsskill1.getPid().equals("0")) - basicsskill1.setPid("无上级"); + if(basicsskill1.getPid().equals("0")){ + basicsskill1.setPid("专业认证能力评价体系"); + }else{ + basicsskill1.setPid("创新能力评价体系"); + } + } return Result.OK(pageList);