From f2c17d9c8db208efd4c224ddcad61c1613c8a717 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 22 Nov 2021 10:51:53 +0800
Subject: [PATCH] 20211122

---
 gc-user/src/main/resources/mapper/user/OrderMapper.xml |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/gc-user/src/main/resources/mapper/user/OrderMapper.xml b/gc-user/src/main/resources/mapper/user/OrderMapper.xml
index b141ed5..c8f78da 100644
--- a/gc-user/src/main/resources/mapper/user/OrderMapper.xml
+++ b/gc-user/src/main/resources/mapper/user/OrderMapper.xml
@@ -232,7 +232,7 @@
                             LEFT JOIN xzx_jhy_order_items d ON a.id = d.order_id
                     WHERE
                         a.user_id = #{userId}
-                        and a.status = 3
+                        and a.status != 5
                     GROUP BY
                         a.id
                 )
@@ -609,4 +609,15 @@
             xzx_jhy_order_items a
         WHERE  a.order_id = (select b.id from xzx_jhy_order b where b.order_no = #{orderId})
     </select>
+
+
+    <select id="selectTGRMobileByPhone" resultType="java.lang.String">
+
+        SELECT
+            a.mobile_phone tgrPhone
+        FROM
+            xzx_user_share_info a
+        WHERE  a.register_mobile_phone = #{mobilePhone}
+    </select>
+
 </mapper>

--
Gitblit v1.9.1