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