新增:提现详情

This commit is contained in:
2023-10-31 09:13:50 +08:00
parent a26cd2cef3
commit bf108857d7
10 changed files with 344 additions and 41 deletions
+6
View File
@@ -77,6 +77,12 @@ func (r *DoctorWithdrawalDao) GetDoctorWithdrawalPageSearch(req requests.GetDoct
return db.Omit("open_id", "union_id", "wx_session_key")
})
// 提现关联银行卡
query = query.Preload("DoctorWithdrawalBank")
// 基础银行卡
query = query.Preload("DoctorWithdrawalBank.BasicBank")
// 医生姓名
if req.UserName != "" {
subQuery := global.Db.Model(&model.UserDoctor{}).