From 1bec8e5ebf24f8f95d9b61f614659a6df28df904 Mon Sep 17 00:00:00 2001 From: "jiaji.H" Date: Wed, 11 Mar 2026 18:27:32 +0800 Subject: [PATCH] =?UTF-8?q?Updata=EF=BC=9A=E6=9B=B4=E6=96=B0sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/questionnaire_survey.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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