Commit 66d9abeabe1bcd835a7220cf6b2fa8301bd99138

Authored by YunaiV
1 parent d40c2a39

fix:【bpm 工作流】定时边界事件固定日期和固定时长参数传反问题

yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/util/SimpleModelUtils.java
@@ -737,10 +737,10 @@ public class SimpleModelUtils { @@ -737,10 +737,10 @@ public class SimpleModelUtils {
737 BoundaryEvent boundaryEvent = null; 737 BoundaryEvent boundaryEvent = null;
738 if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_DATE_TIME.getType())) { 738 if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_DATE_TIME.getType())) {
739 boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(), 739 boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(),
740 - node.getDelaySetting().getDelayTime(), null, null); 740 + null, null, node.getDelaySetting().getDelayTime());
741 } else if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_TIME_DURATION.getType())) { 741 } else if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_TIME_DURATION.getType())) {
742 boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(), 742 boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(),
743 - null, null, node.getDelaySetting().getDelayTime()); 743 + node.getDelaySetting().getDelayTime(), null, null);
744 } else { 744 } else {
745 throw new UnsupportedOperationException("不支持的延迟类型:" + node.getDelaySetting()); 745 throw new UnsupportedOperationException("不支持的延迟类型:" + node.getDelaySetting());
746 } 746 }