|
|
@@ -38,7 +38,7 @@ public class OaTurnoverController {
|
|
|
private OaTurnoverService oaTurnoverService;
|
|
|
|
|
|
@PostMapping("/staging")
|
|
|
- @Operation(summary = "暂存续签审批流程信息")
|
|
|
+ @Operation(summary = "暂存离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 1)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:staging')")
|
|
|
public CommonResult<Long> stagingOaTurnover(@RequestBody OaTurnoverSaveReqVO stagingReqVO) {
|
|
|
@@ -47,7 +47,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/commit")
|
|
|
- @Operation(summary = "提交续签审批流程信息")
|
|
|
+ @Operation(summary = "提交离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 2)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:commit')")
|
|
|
public CommonResult<Long> commitOaTurnover(@Valid @RequestBody OaTurnoverSaveReqVO commitReqVO) {
|
|
|
@@ -56,7 +56,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/agree")
|
|
|
- @Operation(summary = "审批同意续签审批流程信息")
|
|
|
+ @Operation(summary = "审批同意离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 3)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:agree')")
|
|
|
public CommonResult<Long> agreeOaTurnover(@Valid @RequestBody BpmTaskApproveReqVO agreeReqVO) {
|
|
|
@@ -65,7 +65,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/disagree")
|
|
|
- @Operation(summary = "驳回续签审批流程信息")
|
|
|
+ @Operation(summary = "驳回离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 4)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:disagree')")
|
|
|
public CommonResult<Long> disagreeOaTurnover(@Valid @RequestBody BpmTaskReturnReqVO disagreeReqVO) {
|
|
|
@@ -74,7 +74,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/revocation")
|
|
|
- @Operation(summary = "撤回续签审批流程信息")
|
|
|
+ @Operation(summary = "撤回离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 5)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:revocation')")
|
|
|
public CommonResult<Long> revocationOaTurnover(@Valid @RequestBody BpmTaskApproveReqVO revocationReqVO) {
|
|
|
@@ -83,7 +83,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/reCommit")
|
|
|
- @Operation(summary = "驳回或撤回后再次提交续签审批流程信息")
|
|
|
+ @Operation(summary = "驳回或撤回后再次提交离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 6)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:re-commit')")
|
|
|
public CommonResult<Long> reCommitOaTurnover(@Valid @RequestBody OaTurnoverSaveReqVO reCommitReqVO) {
|
|
|
@@ -92,7 +92,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@DeleteMapping("/close")
|
|
|
- @Operation(summary = "驳回或撤回后关闭续签审批流程信息")
|
|
|
+ @Operation(summary = "驳回或撤回后关闭离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 7)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-entry:close')")
|
|
|
public CommonResult<Long> closeOaTurnover(@RequestParam("id") Long id) {
|
|
|
@@ -102,7 +102,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@DeleteMapping("/delete")
|
|
|
- @Operation(summary = "删除续签审批流程信息")
|
|
|
+ @Operation(summary = "删除离职审批流程信息")
|
|
|
@ApiOperationSupport(order = 8)
|
|
|
@Parameter(name = "id", description = "编号", required = true)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:delete')")
|
|
|
@@ -112,7 +112,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/get")
|
|
|
- @Operation(summary = "根据id获得续签审批流程信息")
|
|
|
+ @Operation(summary = "根据id获得离职审批流程信息")
|
|
|
@Parameter(name = "id", description = "编号", required = true, example = "1")
|
|
|
@ApiOperationSupport(order = 9)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:query-id')")
|
|
|
@@ -122,7 +122,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/getByProcInstId")
|
|
|
- @Operation(summary = "根据流程实例id获得续签审批流程信息")
|
|
|
+ @Operation(summary = "根据流程实例id获得离职审批流程信息")
|
|
|
@Parameter(name = "procInstId", description = "流程实例id", required = true, example = "9528a78d-457e-11ef-853c-4c034fce6445")
|
|
|
@ApiOperationSupport(order = 10)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:query-proc-inst-id')")
|
|
|
@@ -132,7 +132,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/page")
|
|
|
- @Operation(summary = "获得续签审批流程信息分页")
|
|
|
+ @Operation(summary = "获得离职审批流程信息分页")
|
|
|
@ApiOperationSupport(order = 11)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:query-page')")
|
|
|
public CommonResult<PageResult<OaTurnoverRespVO>> getOaTurnoverPage(@Valid @ParameterObject OaTurnoverPageReqVO pageReqVO) {
|
|
|
@@ -140,7 +140,7 @@ public class OaTurnoverController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/export-excel")
|
|
|
- @Operation(summary = "导出续签审批流程信息 Excel")
|
|
|
+ @Operation(summary = "导出离职审批流程信息 Excel")
|
|
|
@ApiOperationSupport(order = 12)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-turnover:export')")
|
|
|
@ApiAccessLog(operateType = EXPORT)
|
|
|
@@ -149,7 +149,7 @@ public class OaTurnoverController {
|
|
|
PageResult<OaTurnoverRespVO> pageResult = oaTurnoverService.exportOaTurnoverExcel(pageReqVO);
|
|
|
List<OaTurnoverRespVO> list = pageResult.getList();
|
|
|
// 导出 Excel
|
|
|
- ExcelUtils.write(response, "续签审批流程信息.xls", "数据", OaTurnoverRespVO.class,
|
|
|
+ ExcelUtils.write(response, "离职审批流程信息.xls", "数据", OaTurnoverRespVO.class,
|
|
|
BeanUtils.toBean(list, OaTurnoverRespVO.class));
|
|
|
}
|
|
|
|