提交 e36df37a authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 删除仪表板后公共链接映射还存在

上级 7f9aa976
......@@ -136,6 +136,10 @@ public class PanelLinkService {
PanelLinkExample example = new PanelLinkExample();
example.createCriteria().andResourceIdEqualTo(resourceId);
mapper.deleteByExample(example);
PanelLinkMappingExample mappingExample = new PanelLinkMappingExample();
mappingExample.createCriteria().andResourceIdEqualTo(resourceId);
panelLinkMappingMapper.deleteByExample(mappingExample);
}
public String decryptParam(String text) throws Exception {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论