he2802 2 年之前
父節點
當前提交
e024b8556f
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

@@ -346,6 +346,9 @@
             = g.goods_id and c.`status` = 1
             ) >0
         </if>
+        <if test="gradeType != null and gradeType != ''">
+            AND g.grade_type = #{gradeType}
+        </if>
         <!-- 数据范围过滤 -->
         ${params.dataScope}
         <if test="sortType != null and sortType == 2">