From ac913f2f98cfb49ef98a2b07a7533b30e3f253da Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 07 Jul 2021 14:51:52 +0800
Subject: [PATCH] 20210707
---
gc-user/src/main/resources/mapper/user/OrderMapper.xml | 12 +++++++++++-
1 files changed, 11 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 bfd5802..5db6cb8 100644
--- a/gc-user/src/main/resources/mapper/user/OrderMapper.xml
+++ b/gc-user/src/main/resources/mapper/user/OrderMapper.xml
@@ -401,7 +401,7 @@
'0' score,
a.address address,
ifnull(sum(d.weight), 0) weight,
- e. NAME NAME,
+ e.NAME NAME,
a.create_time createTime
FROM
xzx_order_info a
@@ -574,4 +574,14 @@
a.status != '5'
and a.user_id = #{userId}
</select>
+
+ <select id="selectOrderByUserId" resultType="com.xzx.gc.entity.OrderInfo">
+ SELECT
+ a.*
+ FROM
+ xzx_order_info a
+ WHERE
+ a.order_status != '6'
+ and a.create_user_id = #{userId}
+ </select>
</mapper>
--
Gitblit v1.9.1