7
This commit is contained in:
parent
916b788b1b
commit
198f37fa42
@ -347,7 +347,7 @@ func (r *OrderPrescriptionDao) GetOrderPrescriptionTransferPageSearch(req reques
|
|||||||
|
|
||||||
// 使用 OR 条件:患者匹配 OR 抄方医生匹配 OR 就诊人匹配
|
// 使用 OR 条件:患者匹配 OR 抄方医生匹配 OR 就诊人匹配
|
||||||
query = query.Where(prescriptionTable+".patient_id IN (?)", patientSubQuery).
|
query = query.Where(prescriptionTable+".patient_id IN (?)", patientSubQuery).
|
||||||
Or(inquiryTable+".transfer_doctor_id IN (?)", transferDoctorSubQuery).
|
Or(inquiryTable+".doctor_id IN (?)", transferDoctorSubQuery).
|
||||||
Or(prescriptionTable+".family_id IN (?)", patientFamilySubQuery)
|
Or(prescriptionTable+".family_id IN (?)", patientFamilySubQuery)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user