@@ -98,10 +98,10 @@ public class BpmExecuteNodeController extends BaseController {
}
/**
- * 触发异常
+ * 触发异常节点
*/
- @PostMapping("/triggerException")
- public AjaxResult triggerException(@RequestBody TriggerExceptionVO vo) throws Exception {
- return toAjax(bpmExecuteNodeService.triggerException(vo));
+ @PostMapping("/triggerExceptionNode")
+ public AjaxResult triggerExceptionNode(@RequestBody TriggerExceptionVO vo) throws Exception {
+ return toAjax(bpmExecuteNodeService.triggerExceptionNode(vo));
@@ -72,8 +72,8 @@ public interface IBpmExecuteNodeService {
public int updateNodeState(BpmExecuteNode bpmExecuteNode);
- int triggerException(TriggerExceptionVO vo) throws Exception;
+ int triggerExceptionNode(TriggerExceptionVO vo) throws Exception;
@@ -113,7 +113,7 @@ public class BpmExecuteNodeServiceImpl implements IBpmExecuteNodeService {
@Override
@Transactional
- public int triggerException(TriggerExceptionVO vo) throws Exception {
+ public int triggerExceptionNode(TriggerExceptionVO vo) throws Exception {
//新增节点标签ID
String newUserTaskTagId = "Flow_" + IdUtils.fastSimpleUUID().substring(0, 7);
//bpm_execute_process