修改药品订单搜索

This commit is contained in:
wucongxing8150 2024-03-04 11:19:24 +08:00
parent 9b6bae415a
commit 1b0ffd399a
4 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

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
extend/.DS_Store vendored Normal file

Binary file not shown.

BIN
extend/weChat/.DS_Store vendored Normal file

Binary file not shown.