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) }