From d2d299b15e8558ff849f03b2b760400c495a4738 Mon Sep 17 00:00:00 2001 From: Gitea Date: Fri, 22 Nov 2024 16:36:21 +0800 Subject: [PATCH] =?UTF-8?q?GST002=E7=B2=BE=E7=AE=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/AnnualCompController.java | 29 +++++++++++++++++-- .../controller/AnnualCompAwardController.java | 8 ++--- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java index c35ec141..b5dd9c49 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java @@ -19,9 +19,13 @@ import org.jeecg.common.system.vo.LoginUser; import org.jeecg.modules.demo.annual.entity.Annual; import org.jeecg.modules.demo.annual.service.IAnnualService; import org.jeecg.modules.demo.annual.service.impl.AnnualServiceImpl; +import org.jeecg.modules.demo.annualCompPoint.entity.AnnualCompPoint; +import org.jeecg.modules.demo.annualCompPoint.service.IAnnualCompPointService; import org.jeecg.modules.demo.annualcomp.entity.AnnualComp; import org.jeecg.modules.demo.annualcomp.service.IAnnualCompService; import org.jeecg.modules.demo.annualcomp.vo.AnnualCompVo; +import org.jeecg.modules.demo.annualcompaward.entity.AnnualCompAward; +import org.jeecg.modules.demo.annualcompaward.service.IAnnualCompAwardService; import org.jeecg.modules.demo.comp.entity.Comp; import org.jeecg.modules.demo.comp.service.ICompService; import org.jeecg.modules.system.entity.SysRole; @@ -57,13 +61,16 @@ public class AnnualCompController extends JeecgController> queryPageList(AnnualCompAward annualCompAward, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, - HttpServletRequest req) { + HttpServletRequest req,@RequestParam(name = "acpid", required = true) String acpid) { Subject subject = SecurityUtils.getSubject(); // 获取当前登录用户 @@ -104,7 +104,8 @@ public class AnnualCompAwardController extends JeecgController compIds = compList.stream().map(c -> c.getId()).collect(Collectors.toSet()); //根据比赛ID查询年度必死啊 List annualCompList = annualCompService.list(new LambdaQueryWrapper().in(AnnualComp::getCompid, compIds)); @@ -118,9 +119,8 @@ public class AnnualCompAwardController extends JeecgController annualCompPointIds = annualCompPointList.stream().map(e -> e.getId()).collect(Collectors.toSet()); queryWrapper.in(AnnualCompAward::getAnnucompid, annualCompPointIds); } - } + }*/ } - annualCompAwardService.page(page, queryWrapper); // Page page1 = new Page<>();