feat(pbom): 从SAP导入过来的数据,再次执行导入时,不再导入到SAP中去
This commit is contained in:
parent
38f4695d85
commit
7a329674d1
|
|
@ -277,6 +277,7 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP {
|
|||
.eq(BomNewPbomParentEntity::getMaterialNo, child.getMaterialNo())
|
||||
.ge(BomNewPbomParentEntity::getStatus, PBomStatusEnum.PUBLISH.getValue())
|
||||
.eq(BomNewPbomParentEntity::getFacCode, child.getFacCode())
|
||||
.ne(BomNewPbomParentEntity::getSource, PbomSourceEnum.FROM_SAP.getValue())
|
||||
.orderByDesc(BomNewPbomParentEntity::getCurrentVersion)
|
||||
.last(" limit 1")
|
||||
.one();
|
||||
|
|
|
|||
Loading…
Reference in New Issue