Explorar o código

管乐迷商城改造

zouxuan hai 1 ano
pai
achega
adedb1e212

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/GoodsSubMapper.xml

@@ -17,6 +17,6 @@
         </foreach>
     </update>
     <select id="queryChildGoods" resultType="com.ym.mec.biz.dal.dto.ComplementGoodsDto">
-        select sku_ skuStockId,goods_id_ goodsId,goods_price_ organCostPrice from goods_sub where goods_id_ = 1
+        select sku_ skuStockId,goods_id_ goodsId,goods_price_ organCostPrice from goods_sub where goods_id_ = #{goodsId}
     </select>
 </mapper>