|
|
|
@ -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 |
|
|
|
|