feat(ebom): 新增sap排序字符串

This commit is contained in:
曹鹏飞 2024-05-27 10:51:39 +08:00
parent a637fc834c
commit c0ebb43349
2 changed files with 3 additions and 1 deletions

View File

@ -345,7 +345,7 @@ public class BomNewEbomParentVO extends BaseMaterialVO implements Serializable {
* SAP排序字符串
*/
@ApiModelProperty(value = "SAP排序字符串")
private String sapOrderNum;
private String sapOrderNum = "0040";
private List<BomNewEbomParentVO> childNodes = Collections.emptyList();

View File

@ -414,6 +414,8 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
}
}
child.setChildBomRowId(child.getRowId());
child.setSapOrderNum(BomUtil.generateSapOrderNum(child.getProjectType(), child.getMaterialCategoryCode()
, "1010", child.getMaterialNo(), child.getBomExist()));
}
}
}