Commit c2f52048 by 赵增煜

医师分派

parent de95b3c8
...@@ -159,7 +159,6 @@ public function drugLimit(Request $request) ...@@ -159,7 +159,6 @@ public function drugLimit(Request $request)
if ($canBuyMahuangCount < 0) { if ($canBuyMahuangCount < 0) {
$canBuyMahuangCount = 0; $canBuyMahuangCount = 0;
} }
Log::info('all_limit_num=>' . $limit_num . ' drugCounts=>' . json_encode($drugCounts) . ' drugs=>' . json_encode($drugs) .' canBuyMahuangCount=>'.$canBuyMahuangCount); Log::info('all_limit_num=>' . $limit_num . ' drugCounts=>' . json_encode($drugCounts) . ' drugs=>' . json_encode($drugs) .' canBuyMahuangCount=>'.$canBuyMahuangCount);
// 处理麻黄素药品数据 // 处理麻黄素药品数据
...@@ -172,7 +171,7 @@ public function drugLimit(Request $request) ...@@ -172,7 +171,7 @@ public function drugLimit(Request $request)
return $this->failed($errMsg, ['add_status' => false]); return $this->failed($errMsg, ['add_status' => false]);
} }
$exclusions[$drug['drug_id']] = $drug->excluded_drug_ids; $exclusions[$drug['drug_id']] = $drugModel->excluded_drug_ids;
$drug['drug_name'] = 0; // 冗余药品名称 $drug['drug_name'] = 0; // 冗余药品名称
$drug['mahuangsu_status'] = 0; // 0:不是麻黄素药品 $drug['mahuangsu_status'] = 0; // 0:不是麻黄素药品
$drug['limit_num'] = $limit_num; // 赋值全局限购数量 $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