Browse Source

学习记录过滤退款

he2802 3 years ago
parent
commit
eda2321b8d

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserStudyRecordMapper.xml

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