mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
Merge pull request #1776 from dataease/pr@dev@fix_refresh_link
fix: 重新开启链接后,老的链接无效
This commit is contained in:
commit
abe6f072c9
@ -238,7 +238,9 @@ public class PanelLinkService {
|
||||
example.createCriteria().andUuidEqualTo(uuid);
|
||||
List<PanelLinkMapping> mappings = panelLinkMappingMapper.selectByExample(example);
|
||||
if (CollectionUtils.isEmpty(mappings)) {
|
||||
DEException.throwException("link is not exist");
|
||||
PanelLink panelLink = new PanelLink();
|
||||
panelLink.setResourceId("error-resource-id");
|
||||
return BASEURL + buildLinkParam(panelLink);
|
||||
}
|
||||
PanelLinkMapping mapping = mappings.get(0);
|
||||
String resourceId = mapping.getResourceId();
|
||||
|
Loading…
Reference in New Issue
Block a user