GST002精简

gst2base
Gitea 2 days ago
parent ec5352bbf0
commit 6a2696566e
  1. 17
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java

@ -164,6 +164,23 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
return Result.OK(pageList);
}
/**
* 分页列表查询
* 根据年度比赛id查询年度比赛项目
*
* @return
*/
//@AutoLog(value = "年度比赛项目管理-分页列表查询")
@ApiOperation(value = "年度比赛项目管理-分页列表查询", notes = "年度比赛项目管理-分页列表查询")
@GetMapping(value = "/listByCid")
public Result<IPage<AnnualCompPoint>> listByCid(@RequestParam(name="id",required=true) String id) {
QueryWrapper<AnnualCompPoint> queryWrapper = new QueryWrapper();
queryWrapper.eq("annual_comp_id",id);
Page<AnnualCompPoint> page = new Page<AnnualCompPoint>(1, 1);
IPage<AnnualCompPoint> pageList = annualCompPointService.page(page, queryWrapper);
return Result.OK(pageList);
}
/**
* 教务处 显示所有
* @param annualCompPoint

Loading…
Cancel
Save