From 6f36adb20ade54f9c52600faa6a9fbe641640efa Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 11 Mar 2024 14:55:29 +0800 Subject: [PATCH] update --- app/admin/svc/enterprise_manage/svc_self_support_for_school.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/admin/svc/enterprise_manage/svc_self_support_for_school.go b/app/admin/svc/enterprise_manage/svc_self_support_for_school.go index 34f2084..4b937c5 100644 --- a/app/admin/svc/enterprise_manage/svc_self_support_for_school.go +++ b/app/admin/svc/enterprise_manage/svc_self_support_for_school.go @@ -283,6 +283,9 @@ func SelfSupportForSchoolStudentList(req md.SelfSupportForSchoolStudentListReq) if req.IdNo != "" { sess.And("user_identity.id_no like ?", "%"+req.IdNo+"%") } + if req.Phone != "" { + sess.And("user.phone like ?", "%"+req.Phone+"%") + } if len(classWithUserIdentityIdsOne) > 0 { sess.In("user_identity.id", classWithUserIdentityIdsOne) }