保誠-保戶業務員媒合平台
wayne
2022-02-14 a2edb2c55c3ef6129db84ac92c78970bc8bd27e5
pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java
@@ -16,8 +16,6 @@
import com.pollex.pam.service.PersonalNotificationService;
import com.pollex.pam.service.SatisfactionService;
import java.util.Objects;
@RestController
@RequestMapping("/api/appointment")
public class AppointmentResource {
@@ -57,6 +55,7 @@
   public AppointmentDTO clientCreateAppointment(@RequestBody AppointmentCreateDTO appointmentCreateDTO) {
        Appointment appointment = appointmentService.customerCreateAppointment(appointmentCreateDTO);
        appointmentService.sendAppointmentNotify(appointment);
        satisfactionService.createUnfilledSystemSatisfaction(appointment);
        return appointmentMapper.toAppointmentDTO(appointment);
    }