diff --git a/internal/dao/questionnaire_survey.go b/internal/dao/questionnaire_survey.go index fd811a8..0aee32b 100644 --- a/internal/dao/questionnaire_survey.go +++ b/internal/dao/questionnaire_survey.go @@ -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