修改药品订单搜索

This commit is contained in:
2024-03-04 11:19:41 +08:00
parent 9b6bae415a
commit 1b0ffd399a
4 changed files with 1 additions and 1 deletions
Vendored
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -290,7 +290,7 @@ func (r *OrderProductDao) GetOrderProductPageSearch(req requests.GetOrderProduct
Select("doctor_id"). Select("doctor_id").
Where(gorm.Expr("user_id IN (?)", doctorUserSubQuery)) 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
View File
Binary file not shown.
BIN
View File
Binary file not shown.