| | |
| | | public ResponseData<CounsellingOrderResponseDTO> getCounsellingOrderInfoById(Long counsellingOrderId){ |
| | | CounsellingOrder counsellingOrder = this.counsellingOrderService.getById(counsellingOrderId); |
| | | CounsellingOrderResponseDTO counsellingOrderResponseDTO = BeanUtil.copyProperties(counsellingOrder,CounsellingOrderResponseDTO.class); |
| | | CounsellingInfo counsellingInfo = this.counsellingInfoService.getById(counsellingOrderResponseDTO.getCounsellingInfoId()); |
| | | CounsellingInfo counsellingInfo = this.counsellingInfoService.getById(counsellingOrder.getCounsellingInfoId()); |
| | | Customer customer = this.customerService.getById(counsellingInfo.getUserId()); |
| | | counsellingOrderResponseDTO.setCounsellingName(customer.getNickName()); |
| | | return new SuccessResponseData<>(counsellingOrderResponseDTO); |