hzd 4 months ago
parent
commit
e0e507cab3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/common/model/Orders.php

+ 1 - 0
application/common/model/Orders.php

@@ -901,6 +901,7 @@ class Orders extends Base {
             ->join('delay_reason b','a.delay_reason_id=b.id')
             ->where('a.order_id',$v['id'])
             ->field('a.*,b.title')
+            ->order('a.id desc')
             ->find();
         if($order_delay && $order_delay['status']==0){
             $v['delayReason'] = $order_delay['title'];