瀏覽代碼

【CHG】排序字段表别名错

ZhaoMn 4 年之前
父節點
當前提交
22b9f81bd4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      railway-business/src/main/resources/mapper/catenary/BusJcebLbjghjlMapper.xml

+ 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()">