PBOM-编辑+T项目

This commit is contained in:
大米 2024-11-05 12:34:32 +08:00
parent 40518a2705
commit d528829d2b
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
List<String> fieldList = Lists.newArrayList("projectType","materialNo","drawingNo","num","unitWeight","remark"); List<String> fieldList = Lists.newArrayList("projectType","materialNo","drawingNo","num","unitWeight","remark");
childList.forEach(u -> { childList.forEach(u -> {
u.setParentRowId(paramDTO.getBomRowId()); u.setParentRowId(paramDTO.getBomRowId());
if(u.getRowId() == null){ if(u.getRowId() == null || u.getRowId()<=0){
u.setSourceStatus(PbomSourceStatusEnum.PBOM.getValue()); u.setSourceStatus(PbomSourceStatusEnum.PBOM.getValue());
u.setFacCode(parent.getFacCode()); u.setFacCode(parent.getFacCode());
}else{ }else{