|
|
@ -176,6 +176,7 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
public Result<IPage<AnnualCompPoint>> listByCid(@RequestParam(name="id",required=true) String id) { |
|
|
|
public Result<IPage<AnnualCompPoint>> listByCid(@RequestParam(name="id",required=true) String id) { |
|
|
|
QueryWrapper<AnnualCompPoint> queryWrapper = new QueryWrapper(); |
|
|
|
QueryWrapper<AnnualCompPoint> queryWrapper = new QueryWrapper(); |
|
|
|
queryWrapper.eq("annual_comp_id",id); |
|
|
|
queryWrapper.eq("annual_comp_id",id); |
|
|
|
|
|
|
|
queryWrapper.eq("annual_comp_switch","Y"); // 比赛必须是开启的
|
|
|
|
Page<AnnualCompPoint> page = new Page<AnnualCompPoint>(1, 1); |
|
|
|
Page<AnnualCompPoint> page = new Page<AnnualCompPoint>(1, 1); |
|
|
|
IPage<AnnualCompPoint> pageList = annualCompPointService.page(page, queryWrapper); |
|
|
|
IPage<AnnualCompPoint> pageList = annualCompPointService.page(page, queryWrapper); |
|
|
|
return Result.OK(pageList); |
|
|
|
return Result.OK(pageList); |
|
|
|