fix(测试跟踪): 英文环境下,用例导入责任人失败

This commit is contained in:
chenjianxing 2023-02-03 18:09:10 +08:00 committed by jianxing
parent 3a84cdc20e
commit 9350fbbf18
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
Object value = customData.get(fieldName);
String originFieldName = fieldName;
if (TestCaseImportFiled.MAINTAINER.getFiledLangMap().containsValue(fieldName.replace("(ID)", StringUtils.EMPTY))) {
fieldName = fieldName.replace("(ID)", StringUtils.EMPTY); // 兼容旧模板的 责任人(ID)
fieldName = TestCaseImportFiled.MAINTAINER.getFiledLangMap().get(Locale.SIMPLIFIED_CHINESE); // 兼容旧模板的 责任人(ID)
}
CustomFieldDao customField = customFieldsMap.get(fieldName);
if (customField == null) {