场景:将历史信息DO赋值给最新DO中
// 包 import org.springframework.beans.BeanUtils; // 将对象source的元素赋值给target对象中属性名相同的元素中 BeanUtils.copyProperties(source,target);

场景:将历史信息DO赋值给最新DO中
// 包 import org.springframework.beans.BeanUtils; // 将对象source的元素赋值给target对象中属性名相同的元素中 BeanUtils.copyProperties(source,target);