Browse Source

bug修复

wangliang 4 years ago
parent
commit
408141e87e

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

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