fix(pbom): 修复导入到SAP的顺序与页面显示顺序不一致的问题
This commit is contained in:
parent
7b16839f29
commit
f52664df9f
|
|
@ -61,6 +61,7 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP {
|
||||||
is21 = root.getMaterialNo().startsWith("21");
|
is21 = root.getMaterialNo().startsWith("21");
|
||||||
List<BomNewPbomChildEntity> rcs = bomNewPbomChildService.lambdaQuery()
|
List<BomNewPbomChildEntity> rcs = bomNewPbomChildService.lambdaQuery()
|
||||||
.eq(BomNewPbomChildEntity::getParentRowId, root.getRowId())
|
.eq(BomNewPbomChildEntity::getParentRowId, root.getRowId())
|
||||||
|
.orderByAsc(BomNewPbomChildEntity::getOrderNumber)
|
||||||
.list();
|
.list();
|
||||||
// if (root.getMaterialNo().startsWith("31")) {
|
// if (root.getMaterialNo().startsWith("31")) {
|
||||||
// List<BomNewPbomChildEntity> unVirtualParts = rcs.stream()
|
// List<BomNewPbomChildEntity> unVirtualParts = rcs.stream()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue