fix(测试跟踪): 缺陷导出系统状态字段有误

This commit is contained in:
song-cc-rock 2022-11-28 15:04:45 +08:00 committed by CaptainB
parent 655e4bd239
commit 8ee6eddc25
1 changed files with 2 additions and 1 deletions

View File

@ -774,7 +774,8 @@ public class IssuesService {
fieldDao.setValue("\"" + format + "\"");
}
if (StringUtils.equalsAnyIgnoreCase(customField.getType(), CustomFieldType.SELECT.getValue(),
CustomFieldType.MULTIPLE_SELECT.getValue(), CustomFieldType.CHECKBOX.getValue(), CustomFieldType.RADIO.getValue())) {
CustomFieldType.MULTIPLE_SELECT.getValue(), CustomFieldType.CHECKBOX.getValue(), CustomFieldType.RADIO.getValue())
&& !StringUtils.equalsAnyIgnoreCase(customField.getName(), SystemCustomField.ISSUE_STATUS)) {
fieldDao.setValue(parseOptionValue(customField.getOptions(), fieldDao.getValue()));
}
}