Browse Source

Merge branch 'online1'

周箭河 5 years ago
parent
commit
7ee47c97f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/SporadicChargeInfo.xml

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

@@ -87,10 +87,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" />