| | |
| | | |
| | | import static com.pollex.pam.business.aop.logging.audit.AuditLoggingType.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | | @RequestMapping("/api/appointment") |
| | | public class AppointmentResource { |
| | |
| | | String agentNo = SecurityUtils.getAgentNo(); |
| | | return new ResponseEntity<>(appointmentService.getConsultantPendingAppointmentSum(agentNo), HttpStatus.OK); |
| | | } |
| | | |
| | | @GetMapping("/customer/get_all_group_by_consultant") |
| | | public List<CustomerFavoriteConsultantDTO> getCustomerAllAppointmentGroupByConsultant() { |
| | | return appointmentService.getCustomerAllAppointmentGroupByConsultant(); |
| | | } |
| | | |
| | | // @PostMapping("/close/info/edit") |
| | | // public ResponseEntity<Void> editAppointmentClosedInfo(@RequestBody AppointmentCloseDTO closeDTO) { |