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