去除处方详情查询条件
This commit is contained in:
@@ -45,14 +45,12 @@ class OrderPrescriptionService extends BaseService
|
||||
|
||||
/**
|
||||
* 获取处方中开方药品
|
||||
* @param string|int $order_inquiry_id
|
||||
* @param string|int $order_prescription_id
|
||||
* @return array
|
||||
*/
|
||||
public function getproductList(string|int $order_inquiry_id, string|int $order_prescription_id): array
|
||||
public function getproductList(string|int $order_prescription_id): array
|
||||
{
|
||||
$params = array();
|
||||
$params['order_inquiry_id'] = $order_inquiry_id;
|
||||
$params['order_prescription_id'] = $order_prescription_id;
|
||||
$order_prescription_products = OrderPrescriptionProduct::getLimit($params);
|
||||
if (empty($order_prescription_products)) {
|
||||
|
||||
@@ -939,7 +939,7 @@ class UserDoctorService extends BaseService
|
||||
|
||||
// 订单-商品订单列表
|
||||
$OrderPrescriptionService = new OrderPrescriptionService();
|
||||
$order_prescription_product = $OrderPrescriptionService->getproductList($order_inquiry_id, $order_prescription_id);
|
||||
$order_prescription_product = $OrderPrescriptionService->getproductList($order_prescription_id);
|
||||
|
||||
// 获取处方关联疾病表
|
||||
$fields = [
|
||||
|
||||
Reference in New Issue
Block a user