From 36bc30bdfea6e604a517267e9cabe57b51c322ea Mon Sep 17 00:00:00 2001
From: liugl <liugl@sinata.cn>
Date: 星期二, 19 一月 2021 15:27:41 +0800
Subject: [PATCH] 1。4:处理预约单导致串单的问题 隐藏预约单

---
 app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java b/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java
index 00cf734..b37d480 100644
--- a/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java
+++ b/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java
@@ -174,8 +174,8 @@
      */
     public void showOrder(String orderId, String orderType, int time, int type) {
 
-//        UtilKtKt.calldetailOrderIsYy(this, orderId, orderType, b -> {
-//            if (b) {
+        UtilKtKt.calldetailOrderIsYy(this, orderId, orderType, b -> {
+            if (b) {
                 MyApplication.Companion.getTTsManager().setVideoText("OK出行,有一条新的订单");
                 Intent intent = new Intent(MySlabBaseActivity.this, SlabGetOrderFragment.class);
                 intent.putExtra("orderId", orderId);
@@ -183,10 +183,10 @@
                 intent.putExtra("time", time);
                 intent.putExtra("type", type);
                 startActivity(intent);
-//            } else {
+            } else {
 //                toast("收到预约单");
-//            }
-//        });
+            }
+        });
     }
 
 

--
Gitblit v1.7.1