fix(测试跟踪): 功能用例导入文本类型的自定义字段失败
--bug=1020167 --user=陈建星 【测试跟踪】功能用例-导入更新-自定义字段未导入成功 https://www.tapd.cn/55049933/s/1303212
This commit is contained in:
parent
a2e203d33f
commit
57bc27b011
|
@ -568,7 +568,7 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
|
|||
if (customFieldDao != null) {
|
||||
CustomFieldResourceDTO customFieldResource = new CustomFieldResourceDTO();
|
||||
customFieldResource.setFieldId(customFieldDao.getId());
|
||||
if (textFieldSet.contains(customFieldDao.getId())) {
|
||||
if (textFieldSet.contains(k)) {
|
||||
customFieldResource.setTextValue(v.toString());
|
||||
} else {
|
||||
customFieldResource.setValue(JSON.toJSONString(v));
|
||||
|
|
Loading…
Reference in New Issue