获取患者问诊订单详情 增加退款数据
This commit is contained in:
parent
a7b67aba88
commit
2005b6eefc
@ -15,6 +15,7 @@ use App\Model\OrderDetection;
|
||||
use App\Model\OrderInquiry;
|
||||
use App\Model\OrderInquiryCase;
|
||||
use App\Model\OrderInquiryCoupon;
|
||||
use App\Model\OrderInquiryRefund;
|
||||
use App\Model\OrderPrescription;
|
||||
use App\Model\OrderPrescriptionFile;
|
||||
use App\Model\OrderPrescriptionProduct;
|
||||
@ -276,6 +277,16 @@ class PatientOrderService extends BaseService
|
||||
unset($user_doctor);
|
||||
}
|
||||
|
||||
// 获取退款数据
|
||||
$order_inquiry['order_inquiry_refund'] = array();
|
||||
|
||||
$params = array();
|
||||
$params['order_inquiry_id'] = $order_inquiry['order_inquiry_id'];
|
||||
$order_inquiry_refund = OrderInquiryRefund::getList($params);
|
||||
if (!empty($order_inquiry_refund)){
|
||||
$order_inquiry['order_inquiry_refund'] = $order_inquiry_refund;
|
||||
}
|
||||
|
||||
return success($order_inquiry->toArray());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user