增加‘商品类别’的筛选功能

This commit is contained in:
季圣华
2019-06-23 23:47:40 +08:00
parent 83be4dca33
commit a9874a4928
9 changed files with 88 additions and 69 deletions

View File

@@ -22,7 +22,7 @@
<if test="model != null">
and m.model like '%${model}%'
</if>
<if test="categoryId != 1">
<if test="categoryIds != null">
and m.CategoryId in (${categoryIds})
</if>
and ifnull(m.delete_Flag,'0') !='1'
@@ -45,7 +45,7 @@
<if test="model != null">
and m.model like '%${model}%'
</if>
<if test="categoryId != 1">
<if test="categoryIds != null">
and m.CategoryId in (${categoryIds})
</if>
and ifnull(m.delete_Flag,'0') !='1'
@@ -102,7 +102,7 @@
<if test="model != null">
and m.model like '%${model}%'
</if>
<if test="categoryId != 1">
<if test="categoryIds != null">
and m.CategoryId in (${categoryIds})
</if>
and ifnull(m.delete_Flag,'0') !='1'