新增获取患者服务包订单服务权益详情
This commit is contained in:
@@ -2823,9 +2823,20 @@ class PatientOrderService extends BaseService
|
||||
}
|
||||
}
|
||||
|
||||
// 健康包药品订单数据
|
||||
// 健康包药品订单数据-周期内所有药品订单
|
||||
if (in_array($order_service_package['order_service_status'],[3,4,5])){
|
||||
$params = array();
|
||||
$params['doctor_id'] = $order_service_package['doctor_id'];
|
||||
$params['patient_id'] = $order_service_package['patient_id'];
|
||||
$params['family_id'] = $order_service_package['family_id'];
|
||||
|
||||
$created_at = [$order_service_package['start_time'],$order_service_package['finish_time']];
|
||||
|
||||
$order_product_status_params = [2,3,4];
|
||||
$order_product = OrderProduct::getProductWithCreateTime($params,$created_at,$order_product_status_params);
|
||||
if (!empty($order_product)){
|
||||
$result['order_product'] = $order_product->toArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user