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