瀏覽代碼

bug修复

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>