|
@@ -121,9 +121,19 @@ public class OaUniversalController {
|
|
|
return success(respVO, "查询对象成功");
|
|
return success(respVO, "查询对象成功");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @GetMapping("/getByProcInstId")
|
|
|
|
|
+ @Operation(summary = "根据流程实例id获得通用事项审批流程信息")
|
|
|
|
|
+ @Parameter(name = "procInstId", description = "流程实例id", required = true, example = "9528a78d-457e-11ef-853c-4c034fce6445")
|
|
|
|
|
+ @ApiOperationSupport(order = 10)
|
|
|
|
|
+ // @PreAuthorize("@ss.hasPermission('bpm:oa-universal:query-proc-inst-id')")
|
|
|
|
|
+ public CommonResult<OaUniversalRespVO> getOaUniversalByProcInstId(@RequestParam("procInstId") String procInstId) {
|
|
|
|
|
+ OaUniversalRespVO respVO = oaUniversalService.getOaUniversalByProcInstId(procInstId);
|
|
|
|
|
+ return success(respVO, "查询对象成功");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@GetMapping("/page")
|
|
@GetMapping("/page")
|
|
|
@Operation(summary = "获得通用事项审批流程信息分页")
|
|
@Operation(summary = "获得通用事项审批流程信息分页")
|
|
|
- @ApiOperationSupport(order = 10)
|
|
|
|
|
|
|
+ @ApiOperationSupport(order = 11)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-universal:query-page')")
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-universal:query-page')")
|
|
|
public CommonResult<PageResult<OaUniversalRespVO>> getOaUniversalPage(@Valid OaUniversalPageReqVO pageReqVO) {
|
|
public CommonResult<PageResult<OaUniversalRespVO>> getOaUniversalPage(@Valid OaUniversalPageReqVO pageReqVO) {
|
|
|
return success(oaUniversalService.getOaUniversalPage(pageReqVO), "查询列表成功");
|
|
return success(oaUniversalService.getOaUniversalPage(pageReqVO), "查询列表成功");
|
|
@@ -131,7 +141,7 @@ public class OaUniversalController {
|
|
|
|
|
|
|
|
@GetMapping("/export-excel")
|
|
@GetMapping("/export-excel")
|
|
|
@Operation(summary = "导出通用事项审批流程信息 Excel")
|
|
@Operation(summary = "导出通用事项审批流程信息 Excel")
|
|
|
- @ApiOperationSupport(order = 11)
|
|
|
|
|
|
|
+ @ApiOperationSupport(order = 12)
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-universal:export')")
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-universal:export')")
|
|
|
@ApiAccessLog(operateType = EXPORT)
|
|
@ApiAccessLog(operateType = EXPORT)
|
|
|
public void exportOaUniversalExcel(@Valid OaUniversalPageReqVO pageReqVO,
|
|
public void exportOaUniversalExcel(@Valid OaUniversalPageReqVO pageReqVO,
|