Merge pull request #2023 from dataease/pr@dev@fix_panel_link_delete

fix: 删除仪表板后公共链接映射还存在
This commit is contained in:
fit2cloud-chenyw 2022-04-01 15:55:34 +08:00 committed by GitHub
commit c7943970e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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