1
This commit is contained in:
@@ -130,17 +130,23 @@ class CaService extends BaseService
|
||||
return;
|
||||
}
|
||||
|
||||
dump(111);
|
||||
$this->icd_name = "";
|
||||
$icd_name = array_column($order_prescription_icd->toArray(), 'icd_name');
|
||||
dump($icd_name);
|
||||
if (!empty($icd_name)) {
|
||||
if (count($icd_name) > 1) {
|
||||
dump(22222);
|
||||
$this->icd_name = implode(';', $icd_name);
|
||||
} else {
|
||||
dump(333);
|
||||
$this->icd_name = $icd_name[0];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
dump($this->icd_name);
|
||||
|
||||
// 获取处方关联商品数据
|
||||
co(function () use ($wg,$channel,$order_prescription_id) {
|
||||
defer(function() use ($wg) {
|
||||
@@ -197,7 +203,6 @@ class CaService extends BaseService
|
||||
$params['order_inquiry_id'] = $order_inquiry_id;
|
||||
$order_inquiry_case = OrderInquiryCase::getOne($params);
|
||||
if (empty($order_inquiry_case)) {
|
||||
dump(111);
|
||||
$channel->push('处方病例数据错误');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user