1、采购物料过滤

This commit is contained in:
llllon 2025-09-11 09:13:59 +08:00
parent 519debea73
commit 83bb2d090a
3 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ public class PurchaseDataSyncServiceImpl implements DataSyncService {
// 定义允许的供应商集合 // 定义允许的供应商集合
Set<String> allowedSuppliers = new HashSet<>(Arrays.asList("北新防水", "北新嘉宝莉", "北新涂料")); Set<String> allowedSuppliers = new HashSet<>(Arrays.asList("北新防水", "北新嘉宝莉", "北新涂料"));
// 检查条件 // 检查条件
if (targetMaterials.contains(bo.getString("WLMC")) if (targetMaterials.contains(newWlmc)
&& !allowedSuppliers.contains(bkgs)) { && !allowedSuppliers.contains(bkgs)) {
continue; continue;
} }