wangliang 11 달 전
부모
커밋
087ec9881b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      distributed-print-business/src/main/resources/mapper/TCFinalScoreMapper.xml

+ 2 - 0
distributed-print-business/src/main/resources/mapper/TCFinalScoreMapper.xml

@@ -12,6 +12,7 @@
                 and t.course_id = #{courseId}
             </if>
         </where>
+            and t.enable = true
         order by t.student_code
     </select>
 
@@ -65,6 +66,7 @@
             <if test="courseId != null and courseId != ''">
                 and tcfs.course_id = #{courseId}
             </if>
+            and tcfs.enable = true and tcus.enable = true
         </where>
         group by
         tcfs.name,