auto-checkout for cancelled departure: guard against destination changes
This commit is contained in:
parent
cc7439dd5e
commit
2652ea6bab
1 changed files with 8 additions and 6 deletions
|
@ -83,7 +83,8 @@ sub run {
|
|||
{
|
||||
user_id => $uid,
|
||||
train_no => $train->train_no,
|
||||
checkin_station_id => $dep
|
||||
checkin_station_id => $dep,
|
||||
checkout_station_id => $arr,
|
||||
}
|
||||
)->hash->{count}
|
||||
)
|
||||
|
@ -96,7 +97,8 @@ sub run {
|
|||
{
|
||||
user_id => $uid,
|
||||
train_no => $train->train_no,
|
||||
checkin_station_id => $dep
|
||||
checkin_station_id => $dep,
|
||||
checkout_station_id => $arr,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue