feat(ebom): 修复last_version_is的设置问题
This commit is contained in:
parent
c6e1c64104
commit
e2bf276d25
|
|
@ -2526,8 +2526,8 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
return this.getBaseMapper().getLatestByMaterialNo(materialNos);
|
||||
}
|
||||
|
||||
public void setLastVersionIs0(Set<String> pMaterialNos) {
|
||||
this.lambdaUpdate().in(BomNewEbomParentEntity::getMaterialNo, pMaterialNos)
|
||||
public void setLastVersionIs0(Collection<Long> rowIds) {
|
||||
this.lambdaUpdate().in(BomNewEbomParentEntity::getRowId, rowIds)
|
||||
.set(BomNewEbomParentEntity::getLastVersionIs, 0)
|
||||
.set(BomNewEbomParentEntity::getModifyTime, LocalDateTime.now())
|
||||
.update();
|
||||
|
|
|
|||
Loading…
Reference in New Issue