|
|
|
@ -42,7 +42,7 @@
|
|
|
|
|
<include refid="selectGoodsVo"/>
|
|
|
|
|
<where>
|
|
|
|
|
del_flag = 0
|
|
|
|
|
and isOnSale = 1
|
|
|
|
|
and is_on_sale = 1
|
|
|
|
|
<if test="goods.id != null">
|
|
|
|
|
AND id like concat('%', #{goods.id}, '%')
|
|
|
|
|
</if>
|
|
|
|
@ -66,7 +66,7 @@
|
|
|
|
|
<include refid="selectGoodsVo"/>
|
|
|
|
|
<where>
|
|
|
|
|
del_flag = 0
|
|
|
|
|
and isOnSale = 1
|
|
|
|
|
and is_on_sale = 1
|
|
|
|
|
<if test="cateList != null and cateList.size() > 0" >
|
|
|
|
|
and category_id in
|
|
|
|
|
<foreach collection="cateList" item="listItem" open="(" close=")" separator="," >
|
|
|
|
@ -81,7 +81,7 @@
|
|
|
|
|
<include refid="selectGoodsVo"/>
|
|
|
|
|
<where>
|
|
|
|
|
del_flag = 0
|
|
|
|
|
and isOnSale = 1
|
|
|
|
|
and is_on_sale = 1
|
|
|
|
|
<if test="searchVO.keyword != null and searchVO.keyword != ''">
|
|
|
|
|
AND (name like concat('%', #{searchVO.keyword}, '%') OR keywords like concat('%', #{searchVO.keyword}, '%'))
|
|
|
|
|
</if>
|
|
|
|
|