【修改实训运行逻辑:只有在场景情况下判断等待时间】

This commit is contained in:
weizhihong 2023-02-16 13:33:14 +08:00
parent 233b1b1ff2
commit 8cfa715e37

View File

@ -646,7 +646,7 @@ public class Training2Service {
// 未操作过
if (Step2.StepStatus.isUndo(operation2.getStatus())) {
boolean isExec = true; // 是否要执行
if (operation2.getSimTime() != null) {
if (operation2.getSimTime() != null && simulation.getTraining2().isScene()) {
isExec = (simCurTime == operation2.getSimTime() || operation2.getSimTime() < simCurTime);
}
if (isExec) {