mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	update 优化多余的bean转换
This commit is contained in:
		@@ -318,7 +318,7 @@ public class WorkflowUtils {
 | 
				
			|||||||
                String fieldValue = ReflectUtils.invokeGetter(o, fieldName).toString();
 | 
					                String fieldValue = ReflectUtils.invokeGetter(o, fieldName).toString();
 | 
				
			||||||
                if (!CollUtil.isEmpty(wfDefinitionConfigVoList)) {
 | 
					                if (!CollUtil.isEmpty(wfDefinitionConfigVoList)) {
 | 
				
			||||||
                    wfDefinitionConfigVoList.stream().filter(e -> e.getDefinitionId().equals(fieldValue)).findFirst().ifPresent(e -> {
 | 
					                    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);
 | 
				
			||||||
                    });
 | 
					                    });
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user