import org.springframework.beans.BeanUtils类,
只需要一行代码即可将orderDTO对象的属性值赋值给order对象中对应的属性:
order的值赋值给orderDTO
BeanUtils.copyProperties(orderDTO, order);