|
@@ -39,6 +39,12 @@
|
|
<if test="sku != null and sku.trim() != ''">
|
|
<if test="sku != null and sku.trim() != ''">
|
|
AND `sku` LIKE concat('%',#{sku},'%')
|
|
AND `sku` LIKE concat('%',#{sku},'%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="parentId != null and parentId.trim() != ''">
|
|
|
|
+ AND `parent_id` LIKE concat('%',#{parentId},'%')
|
|
|
|
+ </if>
|
|
|
|
+ <if test="storeId != null and storeId.trim() != ''">
|
|
|
|
+ AND `store_id` LIKE concat('%',#{storeId},'%')
|
|
|
|
+ </if>
|
|
<choose>
|
|
<choose>
|
|
<when test="sidx != null and sidx.trim() != ''">
|
|
<when test="sidx != null and sidx.trim() != ''">
|
|
order by ${sidx} ${order}
|
|
order by ${sidx} ${order}
|