瀏覽代碼

管乐迷商城改造

zouxuan 1 年之前
父節點
當前提交
adedb1e212
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/GoodsSubMapper.xml

+ 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>