From c004a039b42fd0860b57a33e4498966eee3661e9 Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Tue, 22 Apr 2025 13:53:26 +0800 Subject: [PATCH] sth --- application/common/command/CheckOrdeRecordCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/command/CheckOrdeRecordCommand.php b/application/common/command/CheckOrdeRecordCommand.php index 7861e4a..2efee40 100644 --- a/application/common/command/CheckOrdeRecordCommand.php +++ b/application/common/command/CheckOrdeRecordCommand.php @@ -43,7 +43,7 @@ class CheckOrdeRecordCommand extends Command ]); } } - OrderDispatchRecord::whereIn('id',$ids)->update(['status'=>1]); + OrderDispatchRecord::whereIn('id',$ids)->where('status',0)->update(['status'=>1]); OrderDispatch::whereIn('id',$dispatchIds)->where('follow',1)->update(['follow'=>0]); });