核销调整
This commit is contained in:
parent
0fdf93c1a6
commit
a7a5dba104
|
@ -14,9 +14,9 @@ class Orders {
|
|||
{
|
||||
// 根据 OrdersModel::AllOssStatusSql[1] 进行判断
|
||||
// ((os=1 and order_status=3) or (os=2 and order_status=4) or (os=3 and order_status=1))
|
||||
return $order->os == 1 && $order->order_status == 3
|
||||
|| $order->os == 2 && $order->order_status == 4
|
||||
|| $order->os == 3 && in_array($order->order_status, [1, 5]);
|
||||
return ($order->os == 1 && $order->order_status == 3)
|
||||
|| ($order->os == 2 && $order->order_status == 4)
|
||||
|| ($order->os == 3 && in_array($order->order_status, [1, 5]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue