parent
2e7d3363ae
commit
3ef077b261
@ -1999,6 +1999,10 @@ class PatientOrderService extends BaseService
|
|||||||
$order_prescription = OrderPrescription::getWithPage($params, ['*'], $page, $per_page);
|
$order_prescription = OrderPrescription::getWithPage($params, ['*'], $page, $per_page);
|
||||||
if (!empty($order_prescription['data'])) {
|
if (!empty($order_prescription['data'])) {
|
||||||
foreach ($order_prescription['data'] as &$item) {
|
foreach ($order_prescription['data'] as &$item) {
|
||||||
|
// 将模型对象转换为数组,避免间接修改重载元素错误
|
||||||
|
if (is_object($item)) {
|
||||||
|
$item = $item->toArray();
|
||||||
|
}
|
||||||
|
|
||||||
//处理抄方情况
|
//处理抄方情况
|
||||||
$params = array();
|
$params = array();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user