From 6cc84caf336430154ceec01ff7ef9afad88696db Mon Sep 17 00:00:00 2001 From: chenxi Date: Tue, 29 Sep 2026 18:00:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=95=B0=E5=8F=A3=E5=BE=84=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=EF=BC=9A=E6=B1=87=E6=80=BB=E6=95=B0=E6=8D=AE=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E5=8D=97=E6=98=8C=E6=A8=B5=E8=88=8D=E4=BB=93=EF=BC=88?= =?UTF-8?q?=E8=A7=84=E5=88=9912=EF=BC=89=EF=BC=8C=E5=B9=B6=E9=87=8D?= =?UTF-8?q?=E7=AE=977=E6=9C=88/8=E6=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Commands/ImportProductMonthlyWeightedAverageBase.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/ImportProductMonthlyWeightedAverageBase.php b/app/Console/Commands/ImportProductMonthlyWeightedAverageBase.php index 165985cd5..de19fd220 100644 --- a/app/Console/Commands/ImportProductMonthlyWeightedAverageBase.php +++ b/app/Console/Commands/ImportProductMonthlyWeightedAverageBase.php @@ -177,7 +177,9 @@ class ImportProductMonthlyWeightedAverageBase extends Command and m.warehouse = r.warehouse and m.company_id = 1 and m.deleted_at is null - where r.generation = ? and m.warehouse_short_name not like '%不看%' + where r.generation = ? + and m.warehouse_short_name not like '%不看%' + and m.warehouse_short_name <> '南昌樵舍仓' group by m.warehouse_short_name, r.product_code"; $aggregate = [];