uapbd_bom新增修改接口优化

This commit is contained in:
李正@用友 2025-04-15 14:40:39 +08:00
parent 83db7d650b
commit 1135b199af
1 changed files with 5 additions and 2 deletions

View File

@ -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;