建立一个类,继承BeanUtils类,重写copyProperties,修改里面逻辑3d
使用: blog
要解决不讲值为null的字段写进去还可使用"@DynamicUpdate"注解,该注解写在@Entity的实体类中继承