lyhzzz 1 месяц назад
Родитель
Сommit
47dac7507f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/agent/AgentNewLogMapper.xml

+ 1 - 1
src/main/resources/mapper/agent/AgentNewLogMapper.xml

@@ -45,7 +45,7 @@
         <if test="param.orderSn !=null and param.orderSn !='' ">
             and l.order_sn like concat ('%', #{param.orderSn},'%')
         </if>
-        order by id desc
+        order by l.create_time,id desc
     </select>
 
 </mapper>