1
luodangjia
2024-05-12 533558ecfbb188f43cbb151e5245abff1b1aa818
rest/src/main/java/cn/stylefeng/rest/modular/user/controller/CounsellingInfoController.java
@@ -814,7 +814,7 @@
    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);