fix: 修复导入SAP时数据排重的逻辑问题
This commit is contained in:
parent
8bd5026fe6
commit
278df9410d
|
|
@ -182,7 +182,8 @@ public class BomNewEbomExportToSAP {
|
|||
return bomNewEbomChildService.lambdaQuery()
|
||||
.select(BomNewEbomChildEntity::getMaterialNo, BomNewEbomChildEntity::getNum
|
||||
, BomNewEbomChildEntity::getMaterialUnit, BomNewEbomChildEntity::getMaterialDesc
|
||||
, BomNewEbomChildEntity::getVirtualPartType, BomNewEbomChildEntity::getProjectType)
|
||||
, BomNewEbomChildEntity::getVirtualPartType, BomNewEbomChildEntity::getProjectType
|
||||
, BomNewEbomChildEntity::getRowId)
|
||||
.eq(BomNewEbomChildEntity::getParentRowId, parent.getRowId())
|
||||
.orderByAsc(BomNewEbomChildEntity::getOrderNumber)
|
||||
.list();
|
||||
|
|
|
|||
|
|
@ -270,7 +270,8 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP {
|
|||
.select(BomNewPbomChildEntity::getMaterialNo, BomNewPbomChildEntity::getNum
|
||||
, BomNewPbomChildEntity::getMaterialUnit, BomNewPbomChildEntity::getMaterialDesc
|
||||
, BomNewPbomChildEntity::getVirtualPartType, BomNewPbomChildEntity::getProjectType
|
||||
, BomNewPbomChildEntity::getFacCode, BomNewPbomChildEntity::getMaterialCategoryCode)
|
||||
, BomNewPbomChildEntity::getFacCode, BomNewPbomChildEntity::getMaterialCategoryCode
|
||||
, BomNewPbomChildEntity::getRowId)
|
||||
.eq(BomNewPbomChildEntity::getParentRowId, parent.getRowId())
|
||||
.orderByAsc(BomNewPbomChildEntity::getOrderNumber)
|
||||
.list();
|
||||
|
|
|
|||
Loading…
Reference in New Issue