mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
train
This commit is contained in:
@@ -1255,10 +1255,11 @@ export class BookingsRepository extends BaseRepository<Booking> {
|
||||
destinationYard: true,
|
||||
// units carry the real per-container numbers entered at booking time —
|
||||
// the wagon plan shows those instead of generated placeholders.
|
||||
// containerType.wagonType + cargoType.wagonType drive wagon-type
|
||||
// resolution during scheduling (FK, not the old load-type string map).
|
||||
bookingContainers: { containerType: { wagonType: true }, units: true },
|
||||
cargoType: { wagonType: true },
|
||||
// containerType.wagonTypes + cargoType.wagonTypes drive wagon-type
|
||||
// resolution during scheduling (many-to-many lists — the plan mixes
|
||||
// wagon types within one consist).
|
||||
bookingContainers: { containerType: { wagonTypes: true }, units: true },
|
||||
cargoType: { wagonTypes: true },
|
||||
},
|
||||
order: { priorityScore: 'DESC', createdAt: 'ASC' },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user