fix: 保存场景用例删除关联图关系时没有重新设置graphId
This commit is contained in:
parent
2ea35f62c9
commit
e577425734
|
@ -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