From ada7bd252a0ed1e21053d48bd785ed94c401ea3c Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Sat, 11 Apr 2026 10:52:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/webman/gateway/Events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/webman/gateway/Events.php b/plugin/webman/gateway/Events.php index d573fb6..3f25ce7 100644 --- a/plugin/webman/gateway/Events.php +++ b/plugin/webman/gateway/Events.php @@ -255,7 +255,7 @@ class Events ->where('r.product_id', $message['product_id']) ->fieldRaw('r.cons_info_id AS consId, SUM(r.surplus_stock * ' . $message['number'] . ') AS quantity, cons.stock_number AS current_quantity') ->group('r.cons_info_id') - ->select()->toArray(); + ->select(); p($tb_prod_cons); if($tb_prod_cons['quantity'] > $tb_prod_cons['current_quantity']) { $snd_data = [