保誠-保戶業務員媒合平台
wayne
2021-12-03 d7bcd8a8f81d85fe1524c4d785aaed58cd217586
pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java
@@ -1,6 +1,6 @@
package com.pollex.pam.web.rest;
import com.pollex.pam.service.dto.AppointmentDTO;
import com.pollex.pam.service.dto.AppointmentUpdateDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@@ -21,7 +21,7 @@
   SatisfactionService satisfactionService;
    @PutMapping("")
    public ResponseEntity<Void> updateAppointment(@RequestBody AppointmentDTO appointment) {
    public ResponseEntity<Void> updateAppointment(@RequestBody AppointmentUpdateDTO appointment) {
        appointmentService.updateAppointment(appointment);
        return ResponseEntity.noContent().build();
    }