新增处方打印
This commit is contained in:
@@ -444,13 +444,12 @@ class PatientOrderService extends BaseService
|
||||
];
|
||||
|
||||
$order_product = OrderProduct::getPatientOrderProductPage($params, $fields, $page, $per_page);
|
||||
if (empty($order_product['data'])) {
|
||||
return success();
|
||||
}
|
||||
|
||||
foreach ($order_product['data'] as $item) {
|
||||
foreach ($item['orderProductItem'] as &$product_item) {
|
||||
$product_item['product_cover_img'] = addAliyunOssWebsite($product_item['product_cover_img']);
|
||||
if (!empty($order_product['data'])){
|
||||
foreach ($order_product['data'] as $item) {
|
||||
foreach ($item['orderProductItem'] as &$product_item) {
|
||||
$product_item['product_cover_img'] = addAliyunOssWebsite($product_item['product_cover_img']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user