|
|
@ -130,7 +130,11 @@ |
|
|
|
<if test="query.skuCode != null and query.skuCode != ''"> and `goods_sku`.`sku_code` like concat('%',#{query.skuCode},'%') </if> |
|
|
|
<if test="query.skuAddCode != null and query.skuAddCode != ''"> and `goods_sku`.`sku_add_code` like concat('%',#{query.skuAddCode},'%') </if> |
|
|
|
<if test="query.spuCode != null and query.spuCode != ''"> and `goods_spu`.`spu_code` like concat('%',#{query.spuCode},'%') </if> |
|
|
|
<if test="query.spuName != null and query.spuName != ''"> and `goods_spu`.`name` like concat('%',#{query.spuName},'%') </if> |
|
|
|
<if test="query.skuName != null and query.skuName != ''"> and `goods_sku`.`sku_name` like concat('%',#{query.skuName},'%') </if> |
|
|
|
<if test="query.tasteVal != null and query.tasteVal != ''"> and `goods_sku`.`taste_val` like concat('%',#{query.tasteVal},'%') </if> |
|
|
|
<if test="query.wrapVal != null and query.wrapVal != ''"> and `goods_sku`.`wrap_val` like concat('%',#{query.wrapVal},'%') </if> |
|
|
|
<if test="query.specInfos != null and query.specInfos != ''"> and `goods_sku`.`spec_infos` like concat('%',#{query.specInfos},'%') </if> |
|
|
|
<if test="query.spuId != null"> and `goods_sku`.`spu_id` = #{query.spuId}</if> |
|
|
|
<if test="query.salesPrice != null"> and `goods_sku`.`sales_price` = #{query.salesPrice}</if> |
|
|
|
<if test="query.marketPrice != null"> and `goods_sku`.`market_price` = #{query.marketPrice}</if> |
|
|
|