修改药品订单搜索
This commit is contained in:
parent
9b6bae415a
commit
1b0ffd399a
@ -290,7 +290,7 @@ func (r *OrderProductDao) GetOrderProductPageSearch(req requests.GetOrderProduct
|
||||
Select("doctor_id").
|
||||
Where(gorm.Expr("user_id IN (?)", doctorUserSubQuery))
|
||||
|
||||
query = query.Where("user_id IN (?)", patientSubQuery).Or("doctor_id IN (?)", doctorSubQuery)
|
||||
query = query.Where("patient_id IN (?)", patientSubQuery).Or("doctor_id IN (?)", doctorSubQuery)
|
||||
}
|
||||
|
||||
// 排序
|
||||
|
||||
BIN
extend/.DS_Store
vendored
Normal file
BIN
extend/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
extend/weChat/.DS_Store
vendored
Normal file
BIN
extend/weChat/.DS_Store
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user