fix:【bpm 工作流】定时边界事件固定日期和固定时长参数传反问题
This commit is contained in:
@@ -737,10 +737,10 @@ public class SimpleModelUtils {
|
|||||||
BoundaryEvent boundaryEvent = null;
|
BoundaryEvent boundaryEvent = null;
|
||||||
if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_DATE_TIME.getType())) {
|
if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_DATE_TIME.getType())) {
|
||||||
boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(),
|
boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(),
|
||||||
node.getDelaySetting().getDelayTime(), null, null);
|
null, null, node.getDelaySetting().getDelayTime());
|
||||||
} else if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_TIME_DURATION.getType())) {
|
} else if (node.getDelaySetting().getDelayType().equals(BpmDelayTimerTypeEnum.FIXED_TIME_DURATION.getType())) {
|
||||||
boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(),
|
boundaryEvent = buildTimeoutBoundaryEvent(receiveTask, BpmBoundaryEventTypeEnum.DELAY_TIMER_TIMEOUT.getType(),
|
||||||
null, null, node.getDelaySetting().getDelayTime());
|
node.getDelaySetting().getDelayTime(), null, null);
|
||||||
} else {
|
} else {
|
||||||
throw new UnsupportedOperationException("不支持的延迟类型:" + node.getDelaySetting());
|
throw new UnsupportedOperationException("不支持的延迟类型:" + node.getDelaySetting());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user