From ec66208178dfab0f327e8f91bd296a57fd8c361e Mon Sep 17 00:00:00 2001 From: mzl Date: Tue, 21 Oct 2025 15:11:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=92=A4=E5=9B=9E=E5=86=8D?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=AD=BE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/StockOrdersService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/service/StockOrdersService.php b/app/common/service/StockOrdersService.php index ad21787..730fd02 100644 --- a/app/common/service/StockOrdersService.php +++ b/app/common/service/StockOrdersService.php @@ -225,7 +225,7 @@ class StockOrdersService */ public function queryAppro($bizId) { - $instances = ApprovalInstances::where('biz_id', $bizId)->where('biz_type', 'stock_orders')->first(); + $instances = ApprovalInstances::where('biz_id', $bizId)->where('biz_type', 'stock_orders')->where('status', 'approved')->first(); if (!$instances) { return []; }