mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 04:59:48 +08:00
fix(用例管理): 成员类型字段回显问题
This commit is contained in:
parent
7d9147e8e2
commit
10fb5fead9
@ -470,7 +470,7 @@ public class FunctionalCaseService {
|
||||
customFields.forEach(item -> {
|
||||
if (StringUtils.equalsAnyIgnoreCase(item.getType(), CustomFieldType.MEMBER.name(), CustomFieldType.MULTIPLE_MEMBER.name())) {
|
||||
item.setOptions(memberCustomOption);
|
||||
} else {
|
||||
};
|
||||
FunctionalCaseCustomField caseCustomField = functionalCaseCustomFieldService.getCustomField(item.getFieldId(), functionalCase.getId());
|
||||
Optional.ofNullable(caseCustomField).ifPresentOrElse(customField -> {
|
||||
item.setDefaultValue(customField.getValue());
|
||||
@ -479,7 +479,6 @@ public class FunctionalCaseService {
|
||||
}
|
||||
}, () -> {
|
||||
});
|
||||
}
|
||||
});
|
||||
functionalCaseDetailDTO.setCustomFields(customFields);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user