fix(测试跟踪): 缺陷管理级联自定义字段导入处理
--bug=1032255 --user=宋昌昌 【测试跟踪】缺陷管理-导入-不覆盖-选填字段不填写会导入失败 https://www.tapd.cn/55049933/s/1429202
This commit is contained in:
parent
71f66e76ce
commit
5ea7f3e3fb
|
@ -421,8 +421,7 @@ public class IssueExcelListener extends AnalysisEventListener<Map<Integer, Strin
|
|||
BeanUtils.copyBean(customFieldItemDTO, customFieldDao);
|
||||
if (StringUtils.isEmpty(v.toString())) {
|
||||
if (StringUtils.equalsAnyIgnoreCase(type, CustomFieldType.MULTIPLE_MEMBER.getValue(),
|
||||
CustomFieldType.MULTIPLE_SELECT.getValue(), CustomFieldType.CHECKBOX.getValue(),
|
||||
CustomFieldType.CASCADING_SELECT.getValue())) {
|
||||
CustomFieldType.MULTIPLE_SELECT.getValue(), CustomFieldType.CHECKBOX.getValue())) {
|
||||
customFieldItemDTO.setValue("[]");
|
||||
customFieldResourceDTO.setValue("[]");
|
||||
} else if (StringUtils.equalsAnyIgnoreCase(type, CustomFieldType.MULTIPLE_INPUT.getValue())) {
|
||||
|
|
Loading…
Reference in New Issue