From d0c47393cbf57134bd539c7cc0804c9c4cddef85 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 07 Jul 2021 17:31:53 +0800
Subject: [PATCH] 20210707

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

diff --git a/gc-user/src/main/resources/mapper/user/OrderMapper.xml b/gc-user/src/main/resources/mapper/user/OrderMapper.xml
index 76dbbc7..b0b9877 100644
--- a/gc-user/src/main/resources/mapper/user/OrderMapper.xml
+++ b/gc-user/src/main/resources/mapper/user/OrderMapper.xml
@@ -601,11 +601,11 @@
     </select>
 
     <select id="selectJHYListByOrderId" resultType="com.xzx.gc.user.vo.CategaryVo">
+
         SELECT
             a.title title
         FROM
             xzx_jhy_order_items a
-        WHERE
-          and a.order_no = #{orderId}
+        WHERE  a.order_id = (select b.id from xzx_jhy_order b where b.order_no = #{orderId})
     </select>
 </mapper>

--
Gitblit v1.9.1