sth
This commit is contained in:
parent
e62b8a7dc4
commit
d4b00fb46f
|
|
@ -144,7 +144,7 @@ class Dispatch extends Backend
|
|||
}
|
||||
|
||||
//判断 是否存在有效派单任务
|
||||
$existDispatch = OrderDispatch::where('order_id', $params['order_id'])->where('status', '>',0)->find();
|
||||
$existDispatch = OrderDispatch::where('order_id', $params['order_id'])->where('status', '>=',0)->find();
|
||||
|
||||
if(!empty($existDispatch)){
|
||||
$this->error('该订单已经派单,不可重复操作');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user