进路序列小bug

This commit is contained in:
joylink_zhangsai 2022-06-17 13:04:30 +08:00
parent 2991922eb7
commit 704b93887c

View File

@ -118,6 +118,8 @@ public class CTCService {
Route.CheckFailMessage checkFailMessage = ciApiService.settingRoute(simulation, routeCode);
if (checkFailMessage != null)
throw BusinessExceptionAssertEnum.OPERATION_FAIL.exception(checkFailMessage.debugStr());
Route route = simulation.getRepository().getByCode(routeCode, Route.class);
route.setTripNumber(tripNumber);
return null;
}