南京二 实训问题处理

This commit is contained in:
Jade 2021-11-24 09:36:14 +08:00
parent 002fca4c64
commit 5130b67ddd

View File

@ -453,7 +453,7 @@ public class AtsStandService {
*/
public void cancelSetting(Simulation simulation, String standCode) {
Stand stand = simulation.getRepository().getByCode(standCode, Stand.class);
if (stand.isStationHoldTrain()) {
if (stand.isStationHoldTrain() || stand.isCenterHoldTrain()) {
cancelHoldTrain(simulation, standCode);
} else if (stand.isAllSkip()) {
cancelJumpStop(simulation, standCode, null);