|
|
@ -184,7 +184,15 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
partIfsCatalog.setPartDesc(data.getPartDesc()); // 物料名称 |
|
|
partIfsCatalog.setPartDesc(data.getPartDesc()); // 物料名称 |
|
|
// 2025-04-24 PLM pcs. 对应 IFS PCS |
|
|
// 2025-04-24 PLM pcs. 对应 IFS PCS |
|
|
// 2025-05-28 PLM PCS. 对应 IFS PCS |
|
|
// 2025-05-28 PLM PCS. 对应 IFS PCS |
|
|
partIfsCatalog.setUnitCode(data.getUmId() == null ? "" : "PCS.".equals(data.getUmId()) ? "PCS" : "pcs"); // 计量单位 |
|
|
|
|
|
|
|
|
String unitMeas = ""; |
|
|
|
|
|
if (data.getUmId() != null) { |
|
|
|
|
|
if (data.getUmId().contains("PCS")) { |
|
|
|
|
|
unitMeas = "PCS.".equals(data.getUmId()) ? "PCS" : "pcs"; |
|
|
|
|
|
} else { |
|
|
|
|
|
unitMeas = data.getUmId(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
partIfsCatalog.setUnitCode(unitMeas); // 计量单位 |
|
|
partIfsCatalog.setPartMainGroup(data.getPartMainGroup() == null ? "" : data.getPartMainGroup()); // 物料分组 |
|
|
partIfsCatalog.setPartMainGroup(data.getPartMainGroup() == null ? "" : data.getPartMainGroup()); // 物料分组 |
|
|
partIfsCatalog.setWeightNet(data.getWeightNet() == null ? "" : data.getWeightNet().toString()); // 净重 |
|
|
partIfsCatalog.setWeightNet(data.getWeightNet() == null ? "" : data.getWeightNet().toString()); // 净重 |
|
|
partIfsCatalog.setUomForWeightNet(data.getUomForWeightNet() == null ? "" : data.getUomForWeightNet()); // 净重单位 |
|
|
partIfsCatalog.setUomForWeightNet(data.getUomForWeightNet() == null ? "" : data.getUomForWeightNet()); // 净重单位 |
|
|
@ -220,7 +228,15 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
partIfsInventory.setPlannerBuyer(data.getProductGroupId4() == null ? "" : data.getProductGroupId4()); // 计划员 |
|
|
partIfsInventory.setPlannerBuyer(data.getProductGroupId4() == null ? "" : data.getProductGroupId4()); // 计划员 |
|
|
// 2025-04-24 PLM pcs. 对应 IFS PCS |
|
|
// 2025-04-24 PLM pcs. 对应 IFS PCS |
|
|
// 2025-05-28 PLM PCS. 对应 IFS PCS |
|
|
// 2025-05-28 PLM PCS. 对应 IFS PCS |
|
|
partIfsInventory.setUnitMeas(data.getUmId() == null ? "" : "PCS.".equals(data.getUmId()) ? "PCS" : "pcs"); // 计量单位 |
|
|
|
|
|
|
|
|
String unitMeas = ""; |
|
|
|
|
|
if (data.getUmId() != null) { |
|
|
|
|
|
if (data.getUmId().contains("PCS")) { |
|
|
|
|
|
unitMeas = "PCS.".equals(data.getUmId()) ? "PCS" : "pcs"; |
|
|
|
|
|
} else { |
|
|
|
|
|
unitMeas = data.getUmId(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
partIfsInventory.setUnitMeas(unitMeas); // 计量单位 |
|
|
partIfsInventory.setPrimeCommodity(data.getProductGroupId1() == null ? "" : data.getProductGroupId1()); // 商品组1 |
|
|
partIfsInventory.setPrimeCommodity(data.getProductGroupId1() == null ? "" : data.getProductGroupId1()); // 商品组1 |
|
|
partIfsInventory.setSecondCommodity(data.getProductGroupId2() == null ? "" : data.getProductGroupId2()); // 商品组2 |
|
|
partIfsInventory.setSecondCommodity(data.getProductGroupId2() == null ? "" : data.getProductGroupId2()); // 商品组2 |
|
|
partIfsInventory.setAssetClass(data.getAssetClass() == null ? "" : data.getAssetClass()); // 资产等级 |
|
|
partIfsInventory.setAssetClass(data.getAssetClass() == null ? "" : data.getAssetClass()); // 资产等级 |
|
|
|