保誠-保戶業務員媒合平台
Jack
2022-03-24 a500a222daca3829da3c187e7490840173b5b23b
pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java
@@ -20,6 +20,8 @@
import static com.pollex.pam.business.aop.logging.audit.AuditLoggingType.*;
import java.util.List;
@RestController
@RequestMapping("/api/appointment")
public class AppointmentResource {
@@ -106,6 +108,11 @@
        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) {