浏览代码

add 考级报名缴费

周箭河 5 年之前
父节点
当前提交
c2d5eabd82
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/SporadicChargeInfo.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/SporadicChargeInfo.xml

@@ -83,10 +83,10 @@
 		SELECT sci.* FROM sporadic_charge_info sci
 		LEFT JOIN sys_user su ON su.id_ = sci.user_id_
 		<include refid="queryPageSql"/>
-		<if test="order != null and order != ''">
+		<if test="order != null and order != 'desc'">
 			${order}
 		</if>
-		<if test="order == null or order == ''">
+		<if test="order == null or order =='desc'">
 			ORDER BY sci.id_ DESC
 		</if>
 		<include refid="global.limit" />