fix: 保存场景用例删除关联图关系时没有重新设置graphId
This commit is contained in:
parent
252eb5e9e0
commit
4846e33df2
|
@ -51,10 +51,9 @@ public class RelationshipEdgeService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void delete(String sourceId ,List<String> targetIds) {
|
public void delete(String sourceId ,List<String> targetIds) {
|
||||||
RelationshipEdgeExample example = new RelationshipEdgeExample();
|
targetIds.forEach(targetId -> {
|
||||||
example.createCriteria().andSourceIdEqualTo(sourceId).andTargetIdIn(targetIds);
|
delete(sourceId, targetId);
|
||||||
|
});
|
||||||
relationshipEdgeMapper.deleteByExample(example);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue