单位名称
This commit is contained in:
@@ -246,9 +246,10 @@
|
||||
where id = #{shopId}
|
||||
</select>
|
||||
<select id="productList" resultType="com.czg.product.vo.ProductVO">
|
||||
select a.*, min(b.sale_price) as lowPrice
|
||||
select a.*, min(b.sale_price) as lowPrice, min(b.member_price) as lowMemberPrice, unit.name as unitName
|
||||
from tb_product as a
|
||||
left join tb_prod_sku as b on a.id = b.product_id
|
||||
left join tb_shop_prod_unit unit on a.unit_id=unit.id
|
||||
where a.shop_id = #{shopId}
|
||||
<if test="productIds != null">
|
||||
and a.id in
|
||||
|
||||
Reference in New Issue
Block a user