Merge remote-tracking branch 'origin/test-training2' into test-training2
This commit is contained in:
commit
e7b817c2d4
@ -470,7 +470,12 @@ public class SimulationRobotService {
|
||||
if (training2 != null && training2.isScene() && StringUtils.hasText(training2.getBgSceneJson()) && !training2.isRunning()) {
|
||||
return;
|
||||
}
|
||||
// 非单岗位一直等待角色同意
|
||||
if (!simulation.getBuildParams().getWorkParamVO().getDomConfig().isSingleMember()) {
|
||||
return;
|
||||
}
|
||||
simulation.getRepository().getStationList().stream()
|
||||
// 申请不为空、审批人全部为机器人
|
||||
.filter(station -> station.getOperationModeApplication() != null && station.getOperationModeApplication().isRobotApproval())
|
||||
.forEach(station -> atsStationService.doOperationModeSwitch(station));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user