取数口径修正:汇总数据排除南昌樵舍仓(规则12),并重算7月/8月

This commit is contained in:
chenxi 2026-09-29 18:00:44 +08:00
parent ddfd4b052f
commit 6cc84caf33

View File

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