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