wangbo před 4 roky
rodič
revize
a001c6f647

+ 3 - 3
operation_manager/src/main/java/com/huaxu/task/controller/PlanManageController.java

@@ -271,9 +271,9 @@ public class PlanManageController {
     @GetMapping("/plan/delProcInst")
     @ApiOperation(value = "终止流程")
     public AjaxMessage deleteProcessInstance(
-            @ApiParam(value = "任务ID", required = true) @RequestBody Integer id,
-            @ApiParam(value = "流程ID", required = true) @RequestBody String processInstanceId,
-                                             @ApiParam(value = "流程备注", required = true) @RequestBody String remark) {
+            @ApiParam(value = "任务ID", required = true) @RequestParam(required = true) Integer id,
+            @ApiParam(value = "流程ID", required = true) @RequestParam(required = true) String processInstanceId,
+            @ApiParam(value = "流程备注", required = false) @RequestParam(required = false) String remark) {
         Boolean delFlow = workFlowService.deleteProcessInstance(processInstanceId,remark);
         if(delFlow ==true) {
             PlanManage planManage = new PlanManage();