|
@@ -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'];
|