forked from github/dataease
fix: 删除仪表板后公共链接映射还存在
This commit is contained in:
parent
7f9aa976d3
commit
e36df37a59
@ -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