wangliang преди 4 години
родител
ревизия
5f8940e2d7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      teachcloud-report-business/src/main/resources/mapper/TAExamCourseMapper.xml

+ 1 - 1
teachcloud-report-business/src/main/resources/mapper/TAExamCourseMapper.xml

@@ -171,7 +171,7 @@
         </where> ) t
         <if test="column != null and column != '' and order != null and order != ''">
             <choose>
-                <when test="inspectCollegeName != null and inspectCollegeName != ''">
+                <when test="column != null and column == 'inspectCollegeName'">
                     order by t.${column} ${order},t.teacherRank ${order}
                 </when>
                 <otherwise>