[2.13.0]bus司机端到站bug修复

This commit is contained in:
wangmingjun
2022-12-08 18:08:13 +08:00
parent bd1a0df80e
commit b215f61e2d

View File

@@ -649,9 +649,6 @@ public class BusOrderModel {
isArrivedStation = true;
isGoingToNextStation = false;
arriveStationSuccess(arrivedStationIndex, departureStopName, arriveStation);
}else {
isArrivedStation = false;
isGoingToNextStation = true;
}
//5s轮询核销乘客
// startOrStopQueryPassengerWriteOff(true);
@@ -659,12 +656,11 @@ public class BusOrderModel {
@Override
public void onFail(int code, String failMsg) {
isArrivedStation = false;
isGoingToNextStation = true;
if (ToastUtilsOch.isCustomFastClick(5000)) {
if (!NetworkUtils.isConnected(mContext)) {
ToastUtils.showShort("网络异常,请稍后重试");
} else {
if (isArrivedStation) return;
ToastUtils.showShort(failMsg);
}
}