|
|
|
@ -106,6 +106,29 @@ public class CompController extends JeecgController<Comp, ICompService> { |
|
|
|
|
return Result.OK(pageList); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 分页列表查询 |
|
|
|
|
* |
|
|
|
|
* @param compExp |
|
|
|
|
* @param pageNo |
|
|
|
|
* @param pageSize |
|
|
|
|
* @param req |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
//@AutoLog(value = "比赛专家-分页列表查询")
|
|
|
|
|
@ApiOperation(value="比赛专家-分页列表查询", notes="比赛专家-分页列表查询") |
|
|
|
|
@GetMapping(value = "/listSTU") |
|
|
|
|
public Result<IPage<Comp>> listSTU(Comp compExp, |
|
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo, |
|
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize, |
|
|
|
|
HttpServletRequest req) { |
|
|
|
|
QueryWrapper<Comp> queryWrapper = QueryGenerator.initQueryWrapper(compExp, req.getParameterMap()); |
|
|
|
|
Page<Comp> page = new Page<Comp>(pageNo, pageSize); |
|
|
|
|
IPage<Comp> pageList = compService.page(page, queryWrapper); |
|
|
|
|
return Result.OK(pageList); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 添加 |
|
|
|
|
* |
|
|
|
|