From b029ba9777c919992bcc13761ec7d81112679d6d Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 30 Jul 2024 15:53:20 +0800 Subject: [PATCH] bug --- .../controller/AwardPersionController.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java index 1ec8927e..5b2bbbc8 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java @@ -120,7 +120,7 @@ public class AwardPersionController extends JeecgController page = new Page(pageNo, pageSize); QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(awardPersion, req.getParameterMap()); - queryWrapper.eq("studentcode",user.getUsername()); + queryWrapper.eq("studentcode",sysUserService.getById(user.getId()).getWorkNo()); IPage pageList = awardPersionService.page(page, queryWrapper); return Result.OK(pageList); }else if(sysRoleList.get(0).getId().equals("1693451972151386114")){ @@ -224,7 +224,7 @@ public class AwardPersionController extends JeecgController