diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java index f384e5ce..ab0366d9 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java @@ -176,6 +176,7 @@ public class AnnualCompPointController extends JeecgController> listByCid(@RequestParam(name="id",required=true) String id) { QueryWrapper queryWrapper = new QueryWrapper(); queryWrapper.eq("annual_comp_id",id); + queryWrapper.eq("annual_comp_switch","Y"); // 比赛必须是开启的 Page page = new Page(1, 1); IPage pageList = annualCompPointService.page(page, queryWrapper); return Result.OK(pageList);