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