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) {
|
||||
RelationshipEdgeExample example = new RelationshipEdgeExample();
|
||||
example.createCriteria().andSourceIdEqualTo(sourceId).andTargetIdIn(targetIds);
|
||||
|
||||
relationshipEdgeMapper.deleteByExample(example);
|
||||
targetIds.forEach(targetId -> {
|
||||
delete(sourceId, targetId);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue