fix(pbom): 修复导入到SAP的顺序与页面显示顺序不一致的问题

This commit is contained in:
曹鹏飞 2024-07-23 15:34:25 +08:00
parent 7b16839f29
commit f52664df9f
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP {
is21 = root.getMaterialNo().startsWith("21");
List<BomNewPbomChildEntity> rcs = bomNewPbomChildService.lambdaQuery()
.eq(BomNewPbomChildEntity::getParentRowId, root.getRowId())
.orderByAsc(BomNewPbomChildEntity::getOrderNumber)
.list();
// if (root.getMaterialNo().startsWith("31")) {
// List<BomNewPbomChildEntity> unVirtualParts = rcs.stream()