he2802 2 yıl önce
ebeveyn
işleme
e024b8556f

+ 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">