修改自动审方
This commit is contained in:
parent
f891c54f1e
commit
c15bf38075
@ -139,7 +139,7 @@ class AutoPharmacistCaVerifyDelayDirectConsumer extends ConsumerMessage
|
|||||||
Log::getInstance("queue-AutoPharmacistCaVerify")->error("错误:超出最大执行次数或检测错误");
|
Log::getInstance("queue-AutoPharmacistCaVerify")->error("错误:超出最大执行次数或检测错误");
|
||||||
|
|
||||||
// 修改处方表为未通过
|
// 修改处方表为未通过
|
||||||
$this->modifyOrderPrescription($data['prescription_file_id'],2,"请联系平台客服,请勿重开处方");
|
$this->modifyOrderPrescription($data['order_prescription_id'],2,"请联系平台客服,请勿重开处方");
|
||||||
|
|
||||||
// 医生-开具的处方审核未通过
|
// 医生-开具的处方审核未通过
|
||||||
$MessagePush = new MessagePush($user_doctor['user_id'], $order_prescription['order_inquiry_id']);
|
$MessagePush = new MessagePush($user_doctor['user_id'], $order_prescription['order_inquiry_id']);
|
||||||
|
|||||||
@ -150,7 +150,9 @@ class OrderPrescription extends Model
|
|||||||
'OrderPrescriptionIcd'
|
'OrderPrescriptionIcd'
|
||||||
])
|
])
|
||||||
->where($params)
|
->where($params)
|
||||||
|
->orderBy('created_at','desc')
|
||||||
->paginate($per_page, $fields, "page", $page);
|
->paginate($per_page, $fields, "page", $page);
|
||||||
|
|
||||||
$data = array();
|
$data = array();
|
||||||
$data['current_page'] = $raw->currentPage();// 当前页码
|
$data['current_page'] = $raw->currentPage();// 当前页码
|
||||||
$data['total'] = $raw->total();//数据总数
|
$data['total'] = $raw->total();//数据总数
|
||||||
|
|||||||
@ -496,7 +496,7 @@ class UserDoctorService extends BaseService
|
|||||||
$data['patient_name'] = $order_prescription['patient_name'];
|
$data['patient_name'] = $order_prescription['patient_name'];
|
||||||
$data['patient_sex'] = $order_prescription['patient_sex'];
|
$data['patient_sex'] = $order_prescription['patient_sex'];
|
||||||
$data['patient_age'] = $order_prescription['patient_age'];
|
$data['patient_age'] = $order_prescription['patient_age'];
|
||||||
$data['created_at'] = $order_prescription['created_at']; // 开方时间
|
$data['created_at'] = date('Y-m-d H:i:s',strtotime($order_prescription['created_at'])); // 开方时间
|
||||||
$data['pharmacist_audit_status'] = $order_prescription['pharmacist_audit_status'];// 药师审核状态(0:审核中 1:审核成功 2:审核驳回)
|
$data['pharmacist_audit_status'] = $order_prescription['pharmacist_audit_status'];// 药师审核状态(0:审核中 1:审核成功 2:审核驳回)
|
||||||
$data['pharmacist_fail_reason'] = $order_prescription['pharmacist_fail_reason'];// 驳回原因
|
$data['pharmacist_fail_reason'] = $order_prescription['pharmacist_fail_reason'];// 驳回原因
|
||||||
$data['platform_audit_status'] = $order_prescription['platform_audit_status'];// 处方平台审核状态(0:审核中 1:审核成功 2:审核驳回)
|
$data['platform_audit_status'] = $order_prescription['platform_audit_status'];// 处方平台审核状态(0:审核中 1:审核成功 2:审核驳回)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user