Преглед на файлове

学习记录过滤退款

he2802 преди 3 години
родител
ревизия
eda2321b8d
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserStudyRecordMapper.xml

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