Commit 6d57a3478fdf63bd1d029cf972d38c39fa69e3b2

Authored by fengliang
1 parent 8f94ef23

update:修复脚本格式

etrade-order/src/main/resources/com/diligrp/etrade/dao/mapper/shopCart/ShopCartMapper.xml
@@ -74,9 +74,8 @@ @@ -74,9 +74,8 @@
74 scm.product_name as alias, 74 scm.product_name as alias,
75 scm.created_time as createdTime 75 scm.created_time as createdTime
76 from shop_cart s 76 from shop_cart s
77 - left join shop_cart_message scm  
78 - left join stock st  
79 - on s.id = scm.shop_cart_id 77 + left join shop_cart_message scm on s.id = scm.shop_cart_id
  78 + left join stock st on st.product_id = scm.product_id
80 where s.customer_id = #{customerId,jdbcType=BIGINT} 79 where s.customer_id = #{customerId,jdbcType=BIGINT}
81 and s.market_id = #{marketId,jdbcType=BIGINT} 80 and s.market_id = #{marketId,jdbcType=BIGINT}
82 </select> 81 </select>