From 1135b199afa30bfb09d5ec63b0affd368bc95a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=AD=A3=40=E7=94=A8=E5=8F=8B?= Date: Tue, 15 Apr 2025 14:40:39 +0800 Subject: [PATCH] =?UTF-8?q?uapbd=5Fbom=E6=96=B0=E5=A2=9E=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/impl/mmbd/bom/APIBomBusinessServiceImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/uapbd/src/private/nccloud/api/impl/mmbd/bom/APIBomBusinessServiceImpl.java b/uapbd/src/private/nccloud/api/impl/mmbd/bom/APIBomBusinessServiceImpl.java index 76848f3..6d99a79 100644 --- a/uapbd/src/private/nccloud/api/impl/mmbd/bom/APIBomBusinessServiceImpl.java +++ b/uapbd/src/private/nccloud/api/impl/mmbd/bom/APIBomBusinessServiceImpl.java @@ -195,10 +195,13 @@ public class APIBomBusinessServiceImpl implements IAPIBomBusinessService { mapInit(original); AggBomVO agg = aggInit(paramMap); - //2025年4月11日14点35分 --重新赋值上制单人创建人 --start + //2025年4月11日14点35分 --重新赋值上制单人创建人+默认 --start agg.getParentVO().setAttributeValue("billmaker", original.getParent().getAttributeValue("billmaker")); agg.getParentVO().setAttributeValue("creator", original.getParent().getAttributeValue("creator")); - //2025年4月11日14点35分 --重新赋值上制单人创建人 --end + if(bom.get("hbdefault")==null){ + agg.getParentVO().setAttributeValue("hbdefault", original.getParent().getAttributeValue("hbdefault")); + } + //2025年4月11日14点35分 --重新赋值上制单人创建人+默认 --end JSONString checkInfo = requiredCheck(agg); if (checkInfo != null) { return checkInfo;