Преглед на файлове

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