Commit 5bb3cff2 by lujunyi

单个药品排他

parent 118d1c14
......@@ -172,7 +172,9 @@ public function drugLimit(Request $request)
return $this->failed($errMsg, ['add_status' => false]);
}
if ($drugModel->excluded_drug_ids) {
$exclusions[$drug['drug_id']] = $drugModel->excluded_drug_ids;
}
$drug['drug_name'] = $drugModel->name; // 冗余药品名称
$drug['mahuangsu_status'] = 0; // 0:不是麻黄素药品
$drug['limit_num'] = $limit_num; // 赋值全局限购数量
......
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