修改药师分配人员

This commit is contained in:
2023-03-31 17:28:41 +08:00
parent bb7ea260f3
commit b428db8e99
4 changed files with 94 additions and 9 deletions
+9 -3
View File
@@ -209,7 +209,13 @@ class UserPharmacistService extends BaseService
OrderPrescription::edit($params,$data);
// 药师ca签章
$OrderPrescriptionService = new OrderPrescriptionService();
$prescription_open_result = $OrderPrescriptionService->openPrescription($order_prescription['order_prescription_id'],$user_info['user_id']);
if (empty($prescription_open_result['prescription_img_url']) || empty($prescription_open_result['prescription_pdf_url'])){
Db::rollBack();
return fail(HttpEnumCode::SERVER_ERROR, "处方审核失败");
}
// 发送消息
@@ -227,8 +233,8 @@ class UserPharmacistService extends BaseService
// 消息内容
$message_content_data = array();
$message_content_data['message_type'] = 6;
$message_content_data['title'] = "处方审核通过";
$message_content_data['message_type'] = 7;
$message_content_data['title'] = "处方已开具";
$message_content_data['desc'] = "";
$message_content_data['data']['order_inquiry_id'] = $order_inquiry['order_inquiry_id'];
$message_content_data['data']['order_prescription_id'] = $order_prescription['order_prescription_id'];