Parcourir la source

【CHG】排序字段表别名错

ZhaoMn il y a 4 ans
Parent
commit
22b9f81bd4

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

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