|
|
@ -76,7 +76,7 @@ public class AnnualCompAwardController extends JeecgController<AnnualCompAward, |
|
|
|
public Result<IPage<AnnualCompAward>> queryPageList(AnnualCompAward annualCompAward, |
|
|
|
public Result<IPage<AnnualCompAward>> queryPageList(AnnualCompAward annualCompAward, |
|
|
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
|
|
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
|
|
|
HttpServletRequest req) { |
|
|
|
HttpServletRequest req,@RequestParam(name = "acpid", required = true) String acpid) { |
|
|
|
|
|
|
|
|
|
|
|
Subject subject = SecurityUtils.getSubject(); |
|
|
|
Subject subject = SecurityUtils.getSubject(); |
|
|
|
// 获取当前登录用户
|
|
|
|
// 获取当前登录用户
|
|
|
@ -104,7 +104,8 @@ public class AnnualCompAwardController extends JeecgController<AnnualCompAward, |
|
|
|
if (ObjectUtils.isEmpty(compList)) { |
|
|
|
if (ObjectUtils.isEmpty(compList)) { |
|
|
|
return Result.OK(page); |
|
|
|
return Result.OK(page); |
|
|
|
} |
|
|
|
} |
|
|
|
//获取比赛ID
|
|
|
|
queryWrapper.eq(AnnualCompAward::getAnnucompid,acpid); |
|
|
|
|
|
|
|
/* //获取比赛ID
|
|
|
|
Set<String> compIds = compList.stream().map(c -> c.getId()).collect(Collectors.toSet()); |
|
|
|
Set<String> compIds = compList.stream().map(c -> c.getId()).collect(Collectors.toSet()); |
|
|
|
//根据比赛ID查询年度必死啊
|
|
|
|
//根据比赛ID查询年度必死啊
|
|
|
|
List<AnnualComp> annualCompList = annualCompService.list(new LambdaQueryWrapper<AnnualComp>().in(AnnualComp::getCompid, compIds)); |
|
|
|
List<AnnualComp> annualCompList = annualCompService.list(new LambdaQueryWrapper<AnnualComp>().in(AnnualComp::getCompid, compIds)); |
|
|
@ -118,9 +119,8 @@ public class AnnualCompAwardController extends JeecgController<AnnualCompAward, |
|
|
|
Set<String> annualCompPointIds = annualCompPointList.stream().map(e -> e.getId()).collect(Collectors.toSet()); |
|
|
|
Set<String> annualCompPointIds = annualCompPointList.stream().map(e -> e.getId()).collect(Collectors.toSet()); |
|
|
|
queryWrapper.in(AnnualCompAward::getAnnucompid, annualCompPointIds); |
|
|
|
queryWrapper.in(AnnualCompAward::getAnnucompid, annualCompPointIds); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}*/ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
annualCompAwardService.page(page, queryWrapper); |
|
|
|
annualCompAwardService.page(page, queryWrapper); |
|
|
|
|
|
|
|
|
|
|
|
// Page<AnnualCompAwardvo> page1 = new Page<>();
|
|
|
|
// Page<AnnualCompAwardvo> page1 = new Page<>();
|
|
|
|