PBOM-工作表新增行加工厂
This commit is contained in:
parent
7b91469737
commit
be3251253d
|
|
@ -424,6 +424,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
|||
LogRecordContext.putVariable("bom",parent);
|
||||
|
||||
if (CollUtil.isNotEmpty(paramDTO.getChildList())) {
|
||||
paramDTO.getChildList().stream().filter(u->StrUtil.isBlank(u.getFacCode())).collect(Collectors.toList()).forEach(u->u.setFacCode(parent.getFacCode()));
|
||||
List<BomNewPbomChildEntity> childList = Convert.toList(BomNewPbomChildEntity.class, paramDTO.getChildList());
|
||||
List<Long> childIds = paramDTO.getChildList().stream().map(BomNewPbomParentVO::getRowId).collect(Collectors.toList());
|
||||
List<BomNewPbomChildEntity> pChildList = Lists.newArrayList();
|
||||
|
|
|
|||
Loading…
Reference in New Issue