@@ -152,6 +152,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN goods g on g.goods_id = d.goods_id
where 1=1
and u.change_grade = 0
+ and u.`status` = 1
<if test="userId != null and userId !=''">
and u.user_id = #{userId}
</if>