From e36df37a598b359aec2312ddafad5f75a0effd25 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 1 Apr 2022 15:54:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E5=90=8E=E5=85=AC=E5=85=B1=E9=93=BE=E6=8E=A5=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E8=BF=98=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/dataease/service/panel/PanelLinkService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/main/java/io/dataease/service/panel/PanelLinkService.java b/backend/src/main/java/io/dataease/service/panel/PanelLinkService.java index e2b6834c2a..6fe1ce190f 100644 --- a/backend/src/main/java/io/dataease/service/panel/PanelLinkService.java +++ b/backend/src/main/java/io/dataease/service/panel/PanelLinkService.java @@ -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 {