fix 81558 法规合规评估流程-部所主管级领导审批-驳回,流程丢了
81381 法规合规评估流程-全部不涉及的数据驳回,驳回节点错误 update 法规合规评估流程.bpmn
This commit is contained in:
+10
-1
@@ -59,6 +59,8 @@ public class ActivitiController {
|
||||
@Resource
|
||||
private HistoryService historyService;
|
||||
@Resource
|
||||
private RuntimeService runtimeService;
|
||||
@Resource
|
||||
private TaskService taskService;
|
||||
@Resource
|
||||
private ProcessNodeService processNodeService;
|
||||
@@ -105,7 +107,7 @@ public class ActivitiController {
|
||||
map1.put("流程实例id:", processInstanceId);
|
||||
map1.put("当前活动Id:", processInstance.getActivityId());
|
||||
|
||||
String mainDrafter = map.get("mainDrafter").toString();
|
||||
//String mainDrafter = map.get("mainDrafter").toString();
|
||||
|
||||
return Result.OK(map1);
|
||||
}
|
||||
@@ -173,6 +175,13 @@ public class ActivitiController {
|
||||
return Result.OK();
|
||||
}
|
||||
|
||||
@GetMapping("/deleteProcessInstance")
|
||||
@ApiOperation(value = "删除流程实例", notes = "删除流程实例")
|
||||
public Result<Object> deleteProcessInstance(@RequestParam(value = "id", required = false) String id) {
|
||||
runtimeService.deleteProcessInstance(id,"删除");
|
||||
return Result.OK();
|
||||
}
|
||||
|
||||
@GetMapping("/deleteDeployment")
|
||||
@ApiOperation(value = "删除已部署的流程定义", notes = "删除已部署的流程定义")
|
||||
public Result<Object> deleteDeployment(@RequestParam(value = "id", required = false) String id) {
|
||||
|
||||
Reference in New Issue
Block a user