optimize(pbom): 一点小调整

This commit is contained in:
曹鹏飞 2024-06-24 14:53:00 +08:00
parent 1674c43ae2
commit 3b3e98bfd9
1 changed files with 2 additions and 2 deletions

View File

@ -1447,6 +1447,8 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
newP.setDeptRowId(SessionUtil.getDepartRowId());
newP.setTechnologyUserCode(SessionUtil.getUserCode());
newP.setTechnologyUserName(SessionUtil.getRealName());
newP.setDeviseUserCode(SessionUtil.getUserCode());
newP.setDeviseName(SessionUtil.getRealName());
newP.setBatchNo("");
newP.setCreatedTime(LocalDateTime.now());
newP.setSource(4);
@ -1463,8 +1465,6 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
newP.setLastVersionIs(1);
newP.setBomExist(1);
newP.setCurrentVersion(currentVersion);
newP.setDeviseName("");
newP.setDeviseUserCode("");
return newP;
}