import org.springframework.beans.BeanUtils;
//第二个是想要的Entity
BeanUtils.copyProperties(appointDTO, appointment);
DTO转Entity
最新推荐文章于 2024-05-07 18:36:15 发布
import org.springframework.beans.BeanUtils;
//第二个是想要的Entity
BeanUtils.copyProperties(appointDTO, appointment);