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);