wangliang 11 сар өмнө
parent
commit
087ec9881b

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