From 75f1c8f7380994e032de7d32ca7890dff543aaa2 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Wed, 21 Jul 2021 10:19:15 +0800
Subject: [PATCH] Merge branch 'score_shop' into api_score_meger

---
 zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsAssembleDao.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsAssembleDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsAssembleDao.xml
index 9597a28..7a1c514 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsAssembleDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsAssembleDao.xml
@@ -432,5 +432,18 @@
         WHERE shopping_goods_id = #{shoppingGoodsId}
     </update>
 
+    <select id="selectGoodsRelationGoodsList" resultType="com.matrix.system.app.vo.ShoppingGoodsDetailVo">
+        select
+            b.name goodsName,
+            b.measure measure,
+            b.volume volume
+        from shopping_goods_assemble a
+        inner join shopping_goods b on a.assembleGoodId=b.id
+        where a.shopping_goods_id=#{goodsId}
+        <if test="goodsType!= null and goodsType != ''">
+            and b.good_type=#{goodsType}
+        </if>
+    </select>
+
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1