Updata:更新sql

This commit is contained in:
jiaji.H 2026-03-11 18:27:32 +08:00
parent de3d4919e0
commit 1bec8e5ebf

View File

@ -22,7 +22,7 @@ func SendQuestionnaireSurvey(req *bundle.SendQuestionnaireSurveyRequest) (resp *
marn.name as user_name
from `+"`micro-account`.`user`"+` as mau
left join `+"`micro-account`.`real_name`"+` as marn on marn.id = mau.real_name_id and marn.deleted_at is null
where mau.deleted_at is null and mau.tel_num = ?
where mau.deleted_at = 0 and mau.tel_num = ?
`, req.UserTel).Scan(&userInfo).Error
if err != nil {
return resp, err