sth
This commit is contained in:
parent
865aa90dcb
commit
d76f15d2de
|
|
@ -225,7 +225,7 @@ class Order extends Model
|
|||
|
||||
public function dispatch()
|
||||
{
|
||||
return $this->hasOne(OrderDispatch::class, 'order_id', 'id', [], 'LEFT')->setEagerlyType(0)->where('fa_order_dispatch.status',OrderDispatch::STATUS_FINISH);
|
||||
return $this->hasOne(OrderDispatch::class, 'order_id', 'id', [], 'LEFT')->setEagerlyType(0)->where('fa_order_dispatch.status','>',0);
|
||||
}
|
||||
|
||||
public function dispatch2()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user