From 69b8c07ec74418ff5ffc755ce02930ebf58d0f84 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Fri, 22 Nov 2024 10:53:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1049314 --user=宋昌昌 【缺陷管理】集成tapd-使用tapd默认模板创建缺陷-修改缺陷名称-修改后查看列表名称未修改 https://www.tapd.cn/55049933/s/1615067 --- .../src/main/java/io/metersphere/bug/service/BugService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java index 83fcde2a94..0527344140 100644 --- a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java +++ b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugService.java @@ -1181,7 +1181,7 @@ public class BugService { for (BugCustomField bugCustomField : updateFields) { BugCustomFieldExample bugCustomFieldExample = new BugCustomFieldExample(); bugCustomFieldExample.createCriteria().andBugIdEqualTo(bugCustomField.getBugId()).andFieldIdEqualTo(bugCustomField.getFieldId()); - bugCustomFieldMapper.updateByExample(bugCustomField, bugCustomFieldExample); + bugCustomFieldMapper.updateByExampleSelective(bugCustomField, bugCustomFieldExample); } sqlSession.flushStatements(); SqlSessionUtils.closeSqlSession(sqlSession, sqlSessionFactory);