| | |
| | | @GetMapping("page") |
| | | @ApiOperation("分页") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = Constant.Q.PAGE, value = Constant.QV.PAGE, required = true, dataType = Constant.QT.INT), |
| | | @ApiImplicitParam(name = Constant.Q.LIMIT, value = Constant.QV.LIMIT, required = true, dataType = Constant.QT.INT), |
| | | @ApiImplicitParam(name = Constant.Q.ORDER_FIELD, value = Constant.QV.ORDER_FIELD, dataType = Constant.QT.STRING), |
| | | @ApiImplicitParam(name = Constant.Q.ORDER, value = Constant.QV.ORDER, dataType = Constant.QT.STRING), |
| | | @ApiImplicitParam(name = "taskId", value = "任务Id", dataType = Constant.QT.STRING), |
| | | }) |
| | | public PageResult<TaskBinoParam> page(@ApiIgnore @QueryParam QueryFilter queryFilter){ |
| | | public Result<List<TaskBinoParam>> page(@ApiIgnore @QueryParam QueryFilter queryFilter){ |
| | | |
| | | return PageResult.ok(taskBinoParamService.page(queryFilter)); |
| | | return Result.ok(taskBinoParamService.page(queryFilter)); |
| | | } |
| | | |
| | | @GetMapping("{id}") |