Commit 076e42d0 by 赵增煜

去除用法用量为空过滤

parent d8746ee7
......@@ -77,7 +77,7 @@ public function drugList(Request $request)
// })
// ->paginate(10);
$data = PharmacyDrugModel::where('pharmacy_id', $pharmacy_id)
->whereNotNull('dosage_id')
// ->whereNotNull('dosage_id')
->whereHas('drug', function ($query) use ($search_input) {
$query->where('is_rx', DrugModel::RX_TRUE)
->where(function ($subQuery) use ($search_input) {
......
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