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