fix(pbom): 添加筛选条件-工厂
This commit is contained in:
parent
65acfcf94a
commit
0d587b3ea9
|
|
@ -83,6 +83,7 @@ public class TechnologyPackageParamBuilder {
|
|||
BomNewPbomParentEntity oldBom = SpringUtil.getBean(BomNewPbomParentService.class)
|
||||
.lambdaQuery()
|
||||
.eq(BomNewPbomParentEntity::getMaterialNo, child.getMaterialNo())
|
||||
.eq(BomNewPbomParentEntity::getFacCode, parent.getFacCode())
|
||||
.eq(BomNewPbomParentEntity::getLastVersionIs, 1)
|
||||
.one();
|
||||
if(Objects.nonNull(oldBom)){
|
||||
|
|
|
|||
Loading…
Reference in New Issue