|
@@ -962,6 +962,9 @@
|
|
|
<if test="goodsType != null and goodsType != ''">
|
|
<if test="goodsType != null and goodsType != ''">
|
|
|
AND g.goods_type = #{goodsType}
|
|
AND g.goods_type = #{goodsType}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="categoryId != null and categoryId != ''">
|
|
|
|
|
+ AND (INSTR(g.category_ids,#{categoryId}) > 0
|
|
|
|
|
+ </if>
|
|
|
<if test="goodsName != null and goodsName != ''">
|
|
<if test="goodsName != null and goodsName != ''">
|
|
|
AND g.goods_name like concat('%', #{goodsName}, '%')
|
|
AND g.goods_name like concat('%', #{goodsName}, '%')
|
|
|
</if>
|
|
</if>
|