PBOM-编辑+T项目
This commit is contained in:
parent
40518a2705
commit
d528829d2b
|
|
@ -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{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue