保誠-保戶業務員媒合平台
Jack
2022-01-11 9fbf413a72ac13c58f94b433857084946c2e0d9e
pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java
@@ -40,13 +40,14 @@
   @PostMapping("/customer/create")
   public void clientCreateAppointment(@RequestBody AppointmentCreateDTO appointmentCreateDTO) {
        Appointment appointment = appointmentService.customerCreateAppointment(appointmentCreateDTO);
        sendMsgService.sendAppointmentNotify(appointment);
        appointmentService.sendAppointmentNotify(appointment);
    }
   @PostMapping("/markAsContacted/{appointmentId}")
   public void markAsContacted(@PathVariable Long appointmentId) {
   public AppointmentCustomerViewDTO markAsContacted(@PathVariable Long appointmentId) {
      appointmentService.markAsContacted(appointmentId);
   }
       return appointmentService.getAppointmentDetail(appointmentId);
    }
   @GetMapping("/getDetail/{appointmentId}")
   public AppointmentCustomerViewDTO getAppointmentDetail(@PathVariable Long appointmentId) {