he2802 2 سال پیش
والد
کامیت
5e18566fd3
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

@@ -1364,6 +1364,7 @@
                  LEFT JOIN course_section cs ON r.section_id = cs.section_id
                  LEFT JOIN goods g ON g.goods_id = r.goods_id
                  LEFT JOIN class_grade_user cgu ON cgu.grade_id = r.grade_id and cgu.user_id = #{userId}
+            where cgu.change_grade = 0
         ORDER BY r.sort_time DESC
     </select>