Pārlūkot izejas kodu

【CHG】记录故障查询增加排序。

hao 4 gadi atpakaļ
vecāks
revīzija
ce24e18dbd

+ 1 - 1
railway-business/src/main/resources/mapper/business/BusJlgzMapper.xml

@@ -220,7 +220,7 @@
             </if>
         </where>
         <if test="orderBy!=null and orderBy!=''">
-            order by ${orderBy}
+            order by a.${orderBy}
         </if>
         <if test="isAsc!=null and isAsc!=''">
             <if test="isAsc == '1'.toString()" >