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,