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