From 94e92856f90d2a1c11948db4af794d7ec72ce74a Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 18 Aug 2021 16:25:22 +0800
Subject: [PATCH] 20210818

---
 gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml b/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml
index dac82a6..480e24e 100644
--- a/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml
+++ b/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml
@@ -71,4 +71,17 @@
         </where>
         group by status
     </select>
+
+    <select id="selectJhyOrderListByStatus" resultType="com.xzx.gc.entity.JhyOrder">
+        select * from xzx_jhy_order
+        where user_id=#{userId} and status in
+        <foreach collection="list" index="index" item="id" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </select>
+
+    <select id="selectJhyOrderNoWaitAndCancel" resultType="com.xzx.gc.entity.JhyOrder">
+        select * from xzx_jhy_order
+        where status not in (1, 2, 5) and user_id=#{userId}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1