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) {
|
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