Commit 4712799c by lujunyi

处方状态

parent c25ad1ec
......@@ -53,9 +53,9 @@ public function search()
try {
// 获取处方信息
$prescription = PrescriptionModel::where('id', $prescriptionNo)->first();
$prescription = PrescriptionModel::where('id', $prescriptionNo)->where('status', PrescriptionModel::PRESCRIPTION_STATUS_SUCCESS)->first();
if (! $prescription) {
return response()->json(['status' => false, 'message' => '未找到该处方']);
return response()->json(['status' => false, 'message' => '未找到该处方或还未审方~']);
}
// 检查处方图片是否已经生成
// if ($isEseal && $prescription->prescription_pic_eseal) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment