fix(测试跟踪): 功能用例导出多值输入自定义字段为空
--bug=1020958 --user=陈建星 【测试跟踪】github#20627,自定义设置功能用例模板字段为“多值输入框” ,然后通过excel导入,页面展示有问题 https://www.tapd.cn/55049933/s/1319859
This commit is contained in:
parent
0bb14f062e
commit
a3a4642ca2
|
@ -1739,7 +1739,9 @@ public class TestCaseService {
|
|||
List<String> results = new ArrayList<>();
|
||||
List values = (List) value;
|
||||
values.forEach(item -> {
|
||||
if (MapUtils.isNotEmpty(optionMap) && optionMap.containsKey(item.toString())) {
|
||||
if (MapUtils.isEmpty(optionMap)) {
|
||||
results.add(item.toString());
|
||||
} else if (optionMap.containsKey(item.toString())) {
|
||||
results.add(optionMap.get(item.toString()));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue