소스 검색

fix 学时时间

he2802 3 년 전
부모
커밋
f3e4e698c4
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

+ 6 - 0
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

@@ -623,6 +623,9 @@
         WHERE
         ccs.chapter_id = cc.chapter_id
         AND usr.current_status = 1
+        <if test="courseId != null and courseId !='' ">
+            AND usr.course_id=#{courseId}
+        </if>
         <if test="moduleId != null and moduleId !='' ">
             AND usr.module_id=#{moduleId}
         </if>
@@ -648,6 +651,9 @@
         WHERE
         ccs.chapter_id = cc.chapter_id
         AND usr.current_status = 1
+        <if test="courseId != null and courseId !='' ">
+            AND usr.course_id=#{courseId}
+        </if>
         <if test="moduleId != null and moduleId !='' ">
             AND usr.module_id=#{moduleId}
         </if>