分为
This commit is contained in:
@@ -82,5 +82,15 @@ func (r *OrderPrescriptionService) GetOrderPrescription(OrderPrescriptionId int6
|
||||
// 加载药品订单id
|
||||
g.LoadOrderProductId(orderProduct)
|
||||
|
||||
// 加载原始医生信息
|
||||
if orderPrescription.OrderInquiry != nil && orderPrescription.OrderInquiry.UserDoctor != nil {
|
||||
g.LoadUserDoctor(orderPrescription.OrderInquiry.UserDoctor)
|
||||
}
|
||||
|
||||
// 加载接受抄方的医生信息
|
||||
if orderPrescription.OrderInquiry != nil && orderPrescription.OrderInquiry.TransferUserDoctor != nil {
|
||||
g.LoadTransferUserDoctor(orderPrescription.OrderInquiry.TransferUserDoctor)
|
||||
}
|
||||
|
||||
return g, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user