sth
This commit is contained in:
parent
75007bd2d7
commit
4704965778
|
|
@ -733,7 +733,7 @@ class Order extends Backend
|
||||||
|
|
||||||
$result = $order->allowField(true)->save($params);
|
$result = $order->allowField(true)->save($params);
|
||||||
|
|
||||||
$dispatch = OrderDispatch::where('order_id', $order->id)->where('status','>',0)->find();
|
$dispatch = OrderDispatch::where('order_id', $order->id)->where('status','>=',0)->find();
|
||||||
if (!empty($dispatch)) {
|
if (!empty($dispatch)) {
|
||||||
$orderLogic = new OrderLogic();
|
$orderLogic = new OrderLogic();
|
||||||
$orderLogic->cancelOrderDispatch($dispatch, $this->auth, '订单被取消', false);
|
$orderLogic->cancelOrderDispatch($dispatch, $this->auth, '订单被取消', false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user