|
@@ -62,11 +62,11 @@ public class UserAppointmentServiceImpl extends ServiceImpl<UserAppointmentMappe
|
|
|
public HttpRespMsg acceptAndUpdateDate(UserAppointmentVO userAppointmentVO) {
|
|
|
HttpRespMsg msg = new HttpRespMsg();
|
|
|
UserAppointment userAppointment = new UserAppointment();
|
|
|
+ BeanUtils.copyProperties(userAppointmentVO,userAppointment);
|
|
|
if(null != userAppointmentVO.getTimeDate()){
|
|
|
LocalDate beginDateTime = LocalDate.parse(userAppointmentVO.getTimeDate(), DateTimeFormatter.ofPattern("yyyy-MM-dd"));
|
|
|
userAppointment.setAppointDate(beginDateTime);
|
|
|
}
|
|
|
- BeanUtils.copyProperties(userAppointmentVO,userAppointment);
|
|
|
userAppointmentMapper.updateById(userAppointment);
|
|
|
return msg;
|
|
|
}
|