Commit 0b34ce5e authored by 李博今's avatar 李博今

增加内部与外部排课查询分页返回数据

parent 46ac832d
...@@ -57,22 +57,20 @@ public class BArrangeController extends PaginationController<BArrange> { ...@@ -57,22 +57,20 @@ public class BArrangeController extends PaginationController<BArrange> {
@ApiOperation(value="查看 集合", notes="查看单 集合") @ApiOperation(value="查看 集合", notes="查看单 集合")
@ApiImplicitParam(name = "termCode", value = "学期编号", required = false, dataType = "varchar") @ApiImplicitParam(name = "termCode", value = "学期编号", required = false, dataType = "varchar")
@GetMapping(value = "/findAllByPagination") @GetMapping(value = "/findAllByPagination")
public Result findAllByTermCodeByPagination(BArrange bArrange) { public GridModel findAllByTermCodeByPagination(BArrange bArrange) {
return Result.builder(new PersistModel(1), bArrangeServiceImpl.findAllByPagination(getPaginationUtility(),bArrange);
MessageConstant.MESSAGE_ALERT_SUCCESS, GridModel gridModel = getGridModelResponse();
MessageConstant.MESSAGE_ALERT_ERROR, return gridModel;
bArrangeServiceImpl.findAllByPagination(getPaginationUtility(),bArrange));
} }
@ApiOperation(value="企业查看个人排课信息", notes="企业查看个人排课信息") @ApiOperation(value="企业查看个人排课信息", notes="企业查看个人排课信息")
@ApiImplicitParams({@ApiImplicitParam(name = "agencyCode", value = "企业编号", required = true, dataType = "varchar"), @ApiImplicitParams({@ApiImplicitParam(name = "agencyCode", value = "企业编号", required = true, dataType = "varchar"),
@ApiImplicitParam(name = "status", value = "状态", required = false, dataType = "varchar")}) @ApiImplicitParam(name = "status", value = "状态", required = false, dataType = "varchar")})
@GetMapping(value = "/findAllByAgencyCodeByPagination") @GetMapping(value = "/findAllByAgencyCodeByPagination")
public Result findAllByAgencyCodeByPagination(@ApiIgnore BArrange bArrange) { public GridModel findAllByAgencyCodeByPagination(@ApiIgnore BArrange bArrange) {
return Result.builder(new PersistModel(1), bArrangeServiceImpl.findAllByAgencyCodeByPagination(getPaginationUtility(),bArrange);
MessageConstant.MESSAGE_ALERT_SUCCESS, GridModel gridModel = getGridModelResponse();
MessageConstant.MESSAGE_ALERT_ERROR, return gridModel;
bArrangeServiceImpl.findAllByAgencyCodeByPagination(getPaginationUtility(),bArrange));
} }
@ApiOperation(value="excel导入", notes="excel导入排课信息") @ApiOperation(value="excel导入", notes="excel导入排课信息")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment