forked from github/dataease
Merge pull request #2023 from dataease/pr@dev@fix_panel_link_delete
fix: 删除仪表板后公共链接映射还存在
This commit is contained in:
commit
c7943970e3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user