分为
This commit is contained in:
parent
83a54826b6
commit
0f8693f1c8
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user