保誠-保戶業務員媒合平台
wayne
2021-12-24 39f1f7e14085594add24828d0f6271f694eaca43
pamapi/src/main/java/com/pollex/pam/service/AppointmentService.java
@@ -53,11 +53,12 @@
   @Autowired
   SatisfactionService satisfactionService;
   public void customerCreateAppointment(AppointmentCreateDTO appointmentCreateDTO) {
   public Appointment customerCreateAppointment(AppointmentCreateDTO appointmentCreateDTO) {
      Appointment appointment = appointmentDTOMapper.toAppointment(appointmentCreateDTO);
        appointment.setStatus(AVAILABLE);
      appointment.setCustomerId(SecurityUtils.getCustomerDBId());
      appointment.setCommunicateStatus(ContactStatusEnum.RESERVED);
      return appointmentRepository.save(appointment);
   }
    public void updateAppointment(AppointmentUpdateDTO updateAppointmentDTO) {