This commit is contained in:
haomingming 2025-12-29 11:42:23 +08:00
parent f787ac0061
commit 406d91a81a

View File

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