fix(测试跟踪): 功能用例导入责任人为空
--bug=1016068 --user=陈建星 【测试跟踪】导入功能用例,导入后责任人和用例等级是空的 https://www.tapd.cn/55049933/s/1229420
This commit is contained in:
parent
7e08350a95
commit
de56491ef4
|
@ -406,11 +406,11 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
|
|||
customData.put(fieldName, customFieldValidator.parse2Key(value, customField));
|
||||
}
|
||||
if (StringUtils.equals(fieldName, TestCaseImportFiled.STATUS.getFiledLangMap().get(Locale.SIMPLIFIED_CHINESE))) {
|
||||
data.setStatus(value);
|
||||
data.setStatus(customData.get(fieldName));
|
||||
} else if (StringUtils.equals(fieldName, TestCaseImportFiled.PRIORITY.getFiledLangMap().get(Locale.SIMPLIFIED_CHINESE))) {
|
||||
data.setPriority(value);
|
||||
data.setPriority(customData.get(fieldName));
|
||||
} else if (StringUtils.equals(fieldName, TestCaseImportFiled.MAINTAINER.getFiledLangMap().get(Locale.SIMPLIFIED_CHINESE))) {
|
||||
data.setMaintainer(value);
|
||||
data.setMaintainer(customData.get(fieldName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue