From d4b00fb46f44642a58597106fa3677a8651f9024 Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Mon, 30 Jun 2025 09:30:05 +0800 Subject: [PATCH] sth --- application/admin/controller/orders/Dispatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controller/orders/Dispatch.php b/application/admin/controller/orders/Dispatch.php index 257fc81..2e84f73 100644 --- a/application/admin/controller/orders/Dispatch.php +++ b/application/admin/controller/orders/Dispatch.php @@ -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('该订单已经派单,不可重复操作');