From ba1855ccd90500d2a2e8607948fa7f7b925dd4a9 Mon Sep 17 00:00:00 2001 From: Yvan Date: Wed, 11 May 2022 14:39:35 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-70857=20=E6=95=B0=E6=8D=AE=E9=9B=86?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=90=8E=E7=8B=AC=E7=AB=8B=20=E3=80=90?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=8E=9F=E5=9B=A0=E3=80=91=E5=8C=B9=E9=85=8D?= =?UTF-8?q?TableData=E6=97=B6=EF=BC=8C=E7=94=A8=E7=9A=84equals=E6=AF=94?= =?UTF-8?q?=E8=BE=83=EF=BC=8C=E4=BD=86=E6=98=AF=E5=90=8C=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1equals=E4=B8=BAfalse=EF=BC=8C=E7=9B=AE?= =?UTF-8?q?=E5=89=8D=E5=B7=B2=E7=9F=A5=E7=9A=84=E6=98=AF=E5=AD=98=E5=82=A8?= =?UTF-8?q?=E8=BF=87=E7=A8=8BTableData=EF=BC=8C=E5=B7=B2=E7=BB=8F=E8=B7=9F?= =?UTF-8?q?rinoux=E6=B2=9F=E9=80=9A=20=E3=80=90=E6=94=B9=E5=8A=A8=E6=80=9D?= =?UTF-8?q?=E8=B7=AF=E3=80=91=E7=9B=B4=E6=8E=A5=E6=8D=A2=E6=88=90=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1=E6=AF=94=E8=BE=83=20=E3=80=90review=E5=BB=BA=E8=AE=AE?= =?UTF-8?q?=E3=80=91=E6=97=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/tabledata/paste/TableDataFollowingPasteUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/paste/TableDataFollowingPasteUtils.java b/designer-base/src/main/java/com/fr/design/data/tabledata/paste/TableDataFollowingPasteUtils.java index 9c604aa724..80ac3e6142 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/paste/TableDataFollowingPasteUtils.java +++ b/designer-base/src/main/java/com/fr/design/data/tabledata/paste/TableDataFollowingPasteUtils.java @@ -163,7 +163,8 @@ public class TableDataFollowingPasteUtils { for (Map.Entry dataWrapperEntry : dataWrapperMap.entrySet()) { String tdName = dataWrapperEntry.getKey(); TableData td = dataWrapperEntry.getValue().getTableData(); - if (td.equals(tableData)) { + // 有些数据集的equals方法有问题,这里直接判断对象地址 + if (td == tableData) { return tdName; } }