| | |
| | | } |
| | | technician = shopdetail.getData(); |
| | | } |
| | | R<TechnicianSubscribe> subscribeR = technicianClient.getSubscribeByOrderId(orderId); |
| | | if (!R.isSuccess(subscribeR)){ |
| | | throw new ServiceException("获取预约信息失败"); |
| | | } |
| | | TechnicianSubscribe subscribe = subscribeR.getData(); |
| | | |
| | | Shop shop = shopR.getData(); |
| | | orderDetailVO.setId(order.getId()); |
| | | orderDetailVO.setOrderStatus(order.getOrderStatus()); |
| | |
| | | orderDetailVO.setLatitude(shop.getLatitude()); |
| | | orderDetailVO.setShopId(shop.getId()); |
| | | orderDetailVO.setTechnicianName(technician.getName()); |
| | | orderDetailVO.setTechnicianSubscribeId(subscribe.getId()); |
| | | return orderDetailVO; |
| | | } |
| | | |