1
This commit is contained in:
parent
c2830d3ae2
commit
bb76ae5cc9
@ -324,8 +324,11 @@ class OrderPrescriptionService extends BaseService
|
|||||||
// 上传oss
|
// 上传oss
|
||||||
$filename = "applet/prescription/" . $order_prescription['order_prescription_id'] . '.' . 'pdf';
|
$filename = "applet/prescription/" . $order_prescription['order_prescription_id'] . '.' . 'pdf';
|
||||||
|
|
||||||
$prescription_pdf = $oss->putObject($filename, $pdf_result);
|
$prescription_pdf_url = $oss->putObject($filename, $pdf_result);
|
||||||
dump($prescription_pdf);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
dump($e->getMessage());
|
dump($e->getMessage());
|
||||||
|
|||||||
@ -1042,7 +1042,7 @@ class PatientOrderService extends BaseService
|
|||||||
|
|
||||||
// 修改处方为已使用
|
// 修改处方为已使用
|
||||||
$data = array();
|
$data = array();
|
||||||
$data['prescription_status'] = 4;
|
$data['prescription_status'] = 5;
|
||||||
|
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['order_prescription_id'] = $order_prescription['order_prescription_id'];
|
$params['order_prescription_id'] = $order_prescription['order_prescription_id'];
|
||||||
|
|||||||
@ -1281,8 +1281,6 @@ class UserDoctorService extends BaseService
|
|||||||
unset($product);
|
unset($product);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 加入分配药师队列
|
// 加入分配药师队列
|
||||||
$data = array();
|
$data = array();
|
||||||
$data['order_prescription_id'] = $order_prescription['order_prescription_id'];
|
$data['order_prescription_id'] = $order_prescription['order_prescription_id'];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user