|
@@ -34,7 +34,7 @@ public class PaperLibraryController {
|
|
|
@Resource
|
|
|
private PaperLibraryService paperLibraryService;
|
|
|
|
|
|
- @ApiOperation(value = "分页查询-未绑定")
|
|
|
+ @ApiOperation(value = "分页查询-未处理")
|
|
|
@PostMapping("/page_unbind")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
public Result pageUnbind(@ApiParam(value = "任务") @RequestParam(required = false) Long paperScanTaskId,
|
|
@@ -43,14 +43,14 @@ public class PaperLibraryController {
|
|
|
return ResultUtil.ok(paperLibraryService.pageUnbindData(paperScanTaskId, pageNumber, pageSize));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "分页查询-未绑定数量")
|
|
|
+ @ApiOperation(value = "分页查询-未处理数量")
|
|
|
@PostMapping("/count_unbind")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
public Result countUnbind(@ApiParam(value = "任务") @RequestParam(required = false) Long paperScanTaskId) {
|
|
|
return ResultUtil.ok(paperLibraryService.countUnbindData(paperScanTaskId));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "分页查询-已绑定")
|
|
|
+ @ApiOperation(value = "分页查询-已处理")
|
|
|
@PostMapping("/page_bind")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
public Result pageBind(@ApiParam(value = "任务") @RequestParam(required = false) Long paperScanTaskId,
|
|
@@ -59,7 +59,7 @@ public class PaperLibraryController {
|
|
|
return ResultUtil.ok(paperLibraryService.pageBindData(paperScanTaskId, pageNumber, pageSize));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "分页查询-已绑定数量")
|
|
|
+ @ApiOperation(value = "分页查询-已处理数量")
|
|
|
@PostMapping("/count_bind")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
public Result countBind(@ApiParam(value = "任务") @RequestParam(required = false) Long paperScanTaskId) {
|
|
@@ -74,8 +74,8 @@ public class PaperLibraryController {
|
|
|
return ResultUtil.ok(paperLibraryService.bind(paperLibraryId, paperScanTaskDetailId));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "处理")
|
|
|
- @PostMapping("/to_bind")
|
|
|
+ @ApiOperation(value = "开始处理")
|
|
|
+ @PostMapping("/get_bind_data")
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "确定成功", response = Result.class)})
|
|
|
public Result next() {
|
|
|
return ResultUtil.ok(paperLibraryService.toBindPaper());
|