商品列表 起售
This commit is contained in:
@@ -920,10 +920,19 @@
|
||||
</update>
|
||||
|
||||
<select id="selectByIdIn" resultMap="BaseResultMap">
|
||||
select *
|
||||
from tb_product
|
||||
where id in (${ids}) and is_show_mall =1 order by sort asc
|
||||
</select>
|
||||
select min( sku.suit ) as suit,tb.*
|
||||
from tb_product tb
|
||||
LEFT JOIN tb_product_sku sku ON tb.id = sku.product_id
|
||||
where tb.id in (${ids}) and is_show_mall =1 and sku.is_del = 0
|
||||
group by tb.id
|
||||
order by tb.sort asc
|
||||
</select>
|
||||
|
||||
<!-- <select id="selectByIdIn" resultMap="BaseResultMap">-->
|
||||
<!-- select *-->
|
||||
<!-- from tb_product-->
|
||||
<!-- where id in (${ids}) and is_show_mall =1 order by sort asc-->
|
||||
<!-- </select>-->
|
||||
<select id="selectById" resultType="com.chaozhanggui.system.cashierservice.entity.TbProduct">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
|
||||
Reference in New Issue
Block a user