Add vstp field
This commit is contained in:
parent
ec6e425a0d
commit
2662e3e18a
@ -125,6 +125,7 @@ def insertSchedule(sch_record):
|
|||||||
document = {
|
document = {
|
||||||
'transactionType': schedule.get('transaction_type'),
|
'transactionType': schedule.get('transaction_type'),
|
||||||
'stpIndicator': schedule.get('CIF_stp_indicator'),
|
'stpIndicator': schedule.get('CIF_stp_indicator'),
|
||||||
|
'vstp': False,
|
||||||
'operator': schedule.get('atoc_code'),
|
'operator': schedule.get('atoc_code'),
|
||||||
'trainUid': scheduleId,
|
'trainUid': scheduleId,
|
||||||
'headcode': schedule.get('schedule_segment', {}).get('signalling_id'),
|
'headcode': schedule.get('schedule_segment', {}).get('signalling_id'),
|
||||||
|
Reference in New Issue
Block a user