GST002精简

gst2base
Gitea 2 days ago
parent 6a2696566e
commit 6a1066c0bc
  1. 1
      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<AnnualCompPoint,
public Result<IPage<AnnualCompPoint>> listByCid(@RequestParam(name="id",required=true) String id) {
QueryWrapper<AnnualCompPoint> queryWrapper = new QueryWrapper();
queryWrapper.eq("annual_comp_id",id);
queryWrapper.eq("annual_comp_switch","Y"); // 比赛必须是开启的
Page<AnnualCompPoint> page = new Page<AnnualCompPoint>(1, 1);
IPage<AnnualCompPoint> pageList = annualCompPointService.page(page, queryWrapper);
return Result.OK(pageList);

Loading…
Cancel
Save