| | |
| | | */ |
| | | @PostMapping("/start-unlock") |
| | | @Operation(summary = "发起解锁流程", description = "发起解锁流程") |
| | | public R<Boolean> startUnlock(@Parameter(description = "程序包名 节点的id") Long nodeId) {//,@Parameter(description = "处理人id")String assingee |
| | | public R<Boolean> startUnlock(@Parameter(description = "程序包名 节点的id") Long nodeId,@Parameter(description = "解锁原因")String unlockReason) {//,@Parameter(description = "处理人id")String assingee |
| | | try { |
| | | replaceFlowService.startUnlock(nodeId); |
| | | replaceFlowService.startUnlock(nodeId,unlockReason); |
| | | return R.data(true); |
| | | }catch(Exception e){ |
| | | log.error("发起程序替换错误",e); |