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 = [];