1
This commit is contained in:
@@ -604,7 +604,7 @@ class OrderPrescriptionService extends BaseService
|
||||
|
||||
// 获取商品订单列表数据
|
||||
$params = array();
|
||||
$params['order_inquiry_id'] = $order_prescription['order_inquiry_id'];
|
||||
$params['order_product_id'] = $order_product['order_product_id'];
|
||||
$order_product_item = OrderProductItem::getList($params);
|
||||
if (empty($order_product_item)) {
|
||||
throw new BusinessException("上报处方平台失败:商品订单列表数据错误");
|
||||
@@ -837,12 +837,10 @@ class OrderPrescriptionService extends BaseService
|
||||
$result = $Prescription->reportPrescription($arg);
|
||||
if ($result['resultCode'] != "1000"){
|
||||
if(!empty($result['resultDesc'])){
|
||||
Log::getInstance()->info("上报处方平台失败:" .$result['resultDesc']);
|
||||
return false;
|
||||
throw new BusinessException("上报处方平台失败:" .$result['resultDesc']);
|
||||
}
|
||||
|
||||
Log::getInstance()->info("上报处方平台失败:操作编码:" . $result['resultCode']);
|
||||
return false;
|
||||
throw new BusinessException("上报处方平台失败:操作编码:" . $result['resultCode']);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user