forked from github/dataease
fix: 删除仪表板后公共链接映射还存在
This commit is contained in:
parent
f01ca979cd
commit
9567d5b380
@ -136,6 +136,10 @@ public class PanelLinkService {
|
|||||||
PanelLinkExample example = new PanelLinkExample();
|
PanelLinkExample example = new PanelLinkExample();
|
||||||
example.createCriteria().andResourceIdEqualTo(resourceId);
|
example.createCriteria().andResourceIdEqualTo(resourceId);
|
||||||
mapper.deleteByExample(example);
|
mapper.deleteByExample(example);
|
||||||
|
|
||||||
|
PanelLinkMappingExample mappingExample = new PanelLinkMappingExample();
|
||||||
|
mappingExample.createCriteria().andResourceIdEqualTo(resourceId);
|
||||||
|
panelLinkMappingMapper.deleteByExample(mappingExample);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String decryptParam(String text) throws Exception {
|
public String decryptParam(String text) throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user