From 21d60d369e123c154b2480b8a22a405eea7c1258 Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 29 Jul 2024 20:12:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E8=AF=84=E5=88=86=E5=8F=AA?= =?UTF-8?q?=E7=9C=8B=E5=88=86=E9=85=8D=E7=BB=99=E4=B8=93=E5=AE=B6=E7=BB=84?= =?UTF-8?q?=E7=9A=84=E4=BD=9C=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/demo/expscore/controller/ExpScoreController.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expscore/controller/ExpScoreController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expscore/controller/ExpScoreController.java index 2124ed14..ae0ee480 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expscore/controller/ExpScoreController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expscore/controller/ExpScoreController.java @@ -9,8 +9,11 @@ import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; + +import org.apache.shiro.SecurityUtils; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.system.vo.LoginUser; import org.jeecg.common.util.oConvertUtils; import org.jeecg.modules.demo.anncomgrotop.entity.AnnComGroTop; import org.jeecg.modules.demo.anncomgrotop.service.IAnnComGroTopService; @@ -155,11 +158,13 @@ public class ExpScoreController extends JeecgController queryWrapper = QueryGenerator.initQueryWrapper(expScore, req.getParameterMap()); queryWrapper.eq("annid",annComGroTop.getAnnid()); queryWrapper.eq("annal_comp",annualCompPointService.getById(annComGroTop.getAnnComP()).getAnnualCompId()); queryWrapper.eq("ann_com_p",annComGroTop.getAnnComP()); queryWrapper.eq("topid",annComGroTop.getTopid()); + queryWrapper.eq("userid",sysUser.getId()); Page page = new Page(pageNo, pageSize); IPage pageList = expScoreService.page(page, queryWrapper); for (int k = 0 ; k < pageList.getRecords().size();k++){