e
This commit is contained in:
parent
f787ac0061
commit
406d91a81a
@ -13,6 +13,7 @@ type OrderProductDto struct {
|
|||||||
OrderPrescriptionId string `json:"order_prescription_id"` // 订单-处方id;NOT NULL
|
OrderPrescriptionId string `json:"order_prescription_id"` // 订单-处方id;NOT NULL
|
||||||
OrderId string `json:"order_id"` // 订单id
|
OrderId string `json:"order_id"` // 订单id
|
||||||
DoctorId string `json:"doctor_id"` // 医生id
|
DoctorId string `json:"doctor_id"` // 医生id
|
||||||
|
TransferDoctorId string `json:"transfer_doctor_id"` // 接受抄方的医生id
|
||||||
PatientId string `json:"patient_id"` // 患者id
|
PatientId string `json:"patient_id"` // 患者id
|
||||||
FamilyId string `json:"family_id"` // 家庭成员id(就诊用户)
|
FamilyId string `json:"family_id"` // 家庭成员id(就诊用户)
|
||||||
OrderProductNo string `json:"order_product_no"` // 订单编号
|
OrderProductNo string `json:"order_product_no"` // 订单编号
|
||||||
@ -216,7 +217,7 @@ func (r *OrderProductDto) LoadDoctorName(m *model.UserDoctor) *OrderProductDto {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
// LoadUserDoctor 加载原始医生信息
|
// LoadUserDoctor 加载问诊医生信息
|
||||||
func (r *OrderProductDto) LoadUserDoctor(m *model.UserDoctor) *OrderProductDto {
|
func (r *OrderProductDto) LoadUserDoctor(m *model.UserDoctor) *OrderProductDto {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
r.UserDoctor = GetUserDoctorDto(m)
|
r.UserDoctor = GetUserDoctorDto(m)
|
||||||
@ -238,6 +239,7 @@ func (r *OrderProductDto) LoadOrderInquiryAttr(m *model.OrderInquiry) *OrderProd
|
|||||||
r.PatientNameMask = m.PatientNameMask
|
r.PatientNameMask = m.PatientNameMask
|
||||||
r.PatientSex = m.PatientSex
|
r.PatientSex = m.PatientSex
|
||||||
r.PatientAge = m.PatientAge
|
r.PatientAge = m.PatientAge
|
||||||
|
r.TransferDoctorId = string(m.TransferDoctorId)
|
||||||
}
|
}
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user