From 2c834b9b2f509ca39df8a3e3cefaad936660868d Mon Sep 17 00:00:00 2001 From: MHW Date: Wed, 15 Apr 2026 17:32:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E5=88=B6=E8=A1=8C=E4=B8=BA=E6=A0=91?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E5=A4=9A=E6=AC=A1=E5=A4=8D=E5=88=B6=E5=90=8C?= =?UTF-8?q?=E4=B8=80=E8=A1=8C=E4=B8=BA=E6=A0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/solution/web/core/BehaviortreeProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-solution-admin/src/main/java/com/solution/web/core/BehaviortreeProcessor.java b/auto-solution-admin/src/main/java/com/solution/web/core/BehaviortreeProcessor.java index 6024a5f..3630cb2 100644 --- a/auto-solution-admin/src/main/java/com/solution/web/core/BehaviortreeProcessor.java +++ b/auto-solution-admin/src/main/java/com/solution/web/core/BehaviortreeProcessor.java @@ -248,8 +248,8 @@ public class BehaviortreeProcessor { Integer num = behaviortreeService.getCountName(newName); if(num > 0){ Integer count = num + 1; - newName += count; - newEnglishName += count; + behaviortree.setName(newName + count); + behaviortree.setEnglishName(newEnglishName + count); } return this.create(behaviortree); }