| | |
| | | import com.ruoyi.common.constant.HttpStatus; |
| | | |
| | | import com.ruoyi.common.enums.DataSourceType; |
| | | import com.ruoyi.system.domain.DictionaryCondition; |
| | | import com.ruoyi.system.domain.DispatchOrd; |
| | | import com.ruoyi.system.domain.TbOrders; |
| | | import com.ruoyi.system.domain.*; |
| | | import com.ruoyi.system.service.IDispatchOrdService; |
| | | import com.ruoyi.system.service.IPayInfoService; |
| | | import com.ruoyi.system.service.ITbOrdersService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.system.domain.ServiceOrder; |
| | | import com.ruoyi.system.service.IServiceOrderService; |
| | | |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private IDispatchOrdService dispatchOrdService; |
| | | |
| | | @Autowired |
| | | private IPayInfoService payInfoService; |
| | | |
| | | /** |
| | | * 获取服务订单列表 |
| | |
| | | |
| | | //查询服务单 |
| | | ServiceOrder mingServiceOrder = serviceOrderService.selectServiceOrderById(Long.valueOf(orderDetail.getServiceOrdID())); |
| | | DispatchOrd dispatchOrd = dispatchOrdService.selectDispatchOrdByServiceOrdIDDt(mingServiceOrder.getServiceOrdId().toString()); |
| | | |
| | | DispatchOrd dispatchOrd = dispatchOrdService.selectDispatchOrdByServiceOrdIDDt(mingServiceOrder.getServiceOrdId().toString()); |
| | | |
| | | Map<String, Object> data = new HashMap<>(); |
| | | |
| | |
| | | medicalInfo.put("useVentilator", useVentilator); |
| | | |
| | | |
| | | //支付信息 |
| | | // List<PayInfo> payInfoList = payInfoService.selectPayInfoByServiceOrdIDDt(orderDetail.getServiceOrdID()); //1016302788 |
| | | List<PayInfo> payInfoList = payInfoService.selectPayInfoByServiceOrdIDDt("1016302788"); |
| | | |
| | | data.put("orderInfo", orderInfo); |
| | | data.put("patientInfo", patientInfo); |
| | | data.put("serviceInfo", serviceInfo); |
| | | data.put("medicalInfo", medicalInfo); // 暂时为空 |
| | | data.put("dispatchInfo", dispatchInfo); // 更新为包含人员信息的dispatchInfo |
| | | data.put("paymentInfo", new ArrayList<>()); // 暂时为空 |
| | | data.put("paymentInfo", payInfoList); // 暂时为空 |
| | | data.put("operationInfo", new ArrayList<>()); // 暂时为空 |
| | | |
| | | return AjaxResult.success(data); |