修改药品订单搜索

This commit is contained in:
2024-03-04 11:19:35 +08:00
parent f11895c113
commit 0f31485d8c
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").
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.