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

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

parent 46ac832d
......@@ -57,22 +57,20 @@ public class BArrangeController extends PaginationController<BArrange> {
@ApiOperation(value="查看 集合", notes="查看单 集合")
@ApiImplicitParam(name = "termCode", value = "学期编号", required = false, dataType = "varchar")
@GetMapping(value = "/findAllByPagination")
public Result findAllByTermCodeByPagination(BArrange bArrange) {
return Result.builder(new PersistModel(1),
MessageConstant.MESSAGE_ALERT_SUCCESS,
MessageConstant.MESSAGE_ALERT_ERROR,
bArrangeServiceImpl.findAllByPagination(getPaginationUtility(),bArrange));
public GridModel findAllByTermCodeByPagination(BArrange bArrange) {
bArrangeServiceImpl.findAllByPagination(getPaginationUtility(),bArrange);
GridModel gridModel = getGridModelResponse();
return gridModel;
}
@ApiOperation(value="企业查看个人排课信息", notes="企业查看个人排课信息")
@ApiImplicitParams({@ApiImplicitParam(name = "agencyCode", value = "企业编号", required = true, dataType = "varchar"),
@ApiImplicitParam(name = "status", value = "状态", required = false, dataType = "varchar")})
@GetMapping(value = "/findAllByAgencyCodeByPagination")
public Result findAllByAgencyCodeByPagination(@ApiIgnore BArrange bArrange) {
return Result.builder(new PersistModel(1),
MessageConstant.MESSAGE_ALERT_SUCCESS,
MessageConstant.MESSAGE_ALERT_ERROR,
bArrangeServiceImpl.findAllByAgencyCodeByPagination(getPaginationUtility(),bArrange));
public GridModel findAllByAgencyCodeByPagination(@ApiIgnore BArrange bArrange) {
bArrangeServiceImpl.findAllByAgencyCodeByPagination(getPaginationUtility(),bArrange);
GridModel gridModel = getGridModelResponse();
return gridModel;
}
@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