From b230f8f8e5d91e079137cd406594392fd1f7403c Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Mon, 24 Jul 2023 15:27:08 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-100162=20=E3=80=90=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BA=8C=E6=9C=9F=E3=80=91=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E4=B8=8D=E5=9C=A8=E7=BC=96=E8=BE=91=E7=8A=B6=E6=80=81=EF=BC=8C?= =?UTF-8?q?=E8=BF=98=E6=98=AF=E5=9C=A8=E8=A7=A6=E5=8F=91=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java b/designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java index c8f5c40c6..7032a21af 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java @@ -344,7 +344,7 @@ public class VcsHelper implements JTemplateActionListener { private void autoSave(JTemplate jt, String currentUsername, String fileName, int nowVersion, boolean replace, VcsOperator operator) { try { - if (JTemplate.isValid(jt)) { + if (JTemplate.isValid(jt) && !jt.isALLSaved()) { operator.autoSave(currentUsername, fileName, StringUtils.EMPTY, nowVersion, jt.exportData(), replace); } } catch (Exception e) {