【fix】THEN_START,THEN_END命名错误的问题

This commit is contained in:
韩华锋 2023-11-03 11:28:59 +08:00
parent ae97426ef3
commit 414c2fc6c3
1 changed files with 2 additions and 2 deletions

View File

@ -69,14 +69,14 @@ public class WhenCondition extends Condition {
// 这块涉及到挺多的多线程逻辑所以注释比较详细看到这里的童鞋可以仔细阅读
private void executeAsyncCondition(Integer slotIndex) throws Exception {
Slot slot = DataBus.getSlot(slotIndex);
slot.addStep(new CmpStep("-1", "-1", CmpStepTypeEnum.THEN_START));
slot.addStep(new CmpStep("-1", "-1", CmpStepTypeEnum.WHEN_START));
// 获取并发执行策略
ParallelStrategyExecutor parallelStrategyExecutor = ParallelStrategyHelper.loadInstance().buildParallelExecutor(this.getParallelStrategy());
// 执行并发逻辑
parallelStrategyExecutor.execute(this, slotIndex);
slot.addStep(new CmpStep("-1", "-1", CmpStepTypeEnum.THEN_END));
slot.addStep(new CmpStep("-1", "-1", CmpStepTypeEnum.WHEN_END));
}
public boolean isIgnoreError() {