java同一个实体的复制
import org.springframework.beans.BeanUtils; //将mon的值复制给monitorCommission;monitorCommission是实体MonitorCommission的实例,mon是用来接收复制过来的实例 BeanUtils.copyProperties(mon, monitorCommission);
import org.springframework.beans.BeanUtils; //将mon的值复制给monitorCommission;monitorCommission是实体MonitorCommission的实例,mon是用来接收复制过来的实例 BeanUtils.copyProperties(mon, monitorCommission);