update 优化多余的bean转换
This commit is contained in:
parent
089b089fce
commit
e548a05cf0
@ -318,7 +318,7 @@ public class WorkflowUtils {
|
||||
String fieldValue = ReflectUtils.invokeGetter(o, fieldName).toString();
|
||||
if (!CollUtil.isEmpty(wfDefinitionConfigVoList)) {
|
||||
wfDefinitionConfigVoList.stream().filter(e -> e.getDefinitionId().equals(fieldValue)).findFirst().ifPresent(e -> {
|
||||
ReflectUtils.invokeSetter(o, WF_DEFINITION_CONFIG_VO, BeanUtil.toBean(e, WfDefinitionConfigVo.class));
|
||||
ReflectUtils.invokeSetter(o, WF_DEFINITION_CONFIG_VO, e);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user