1.生成PBOM
This commit is contained in:
parent
421271510d
commit
8d75f3c249
|
|
@ -71,7 +71,6 @@ public class EBomToPBom {
|
|||
for (String facCode : facCodes) {
|
||||
for (BomNewEbomParentVO vo : parentList) {
|
||||
BomNewPbomParentEntity parentEnt = buildPBomParent(vo, facCode);
|
||||
|
||||
//子级
|
||||
List<BomNewEbomParentVO> child = result.stream().filter(u -> u.getParentRowId().equals(vo.getBomRowId())).collect(Collectors.toList());
|
||||
if (CollUtil.isNotEmpty(child)) {
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@
|
|||
|
||||
<!--BOM-正式工作表-->
|
||||
<select id="formalWorksheet" resultType="com.nflg.product.bomnew.pojo.vo.BomNewEbomParentVO">
|
||||
select row_id as bomRowId, * from t_bom_new_ebom_parent where 1=1
|
||||
select row_id as bomRowId, * from t_bom_new_ebom_parent where status=4
|
||||
<include refid="whr"/>
|
||||
</select>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue