From 5fbe818cfb72505a7e8bd881aacfc5a76cd35dfa Mon Sep 17 00:00:00 2001 From: dengbiao Date: Wed, 19 Jun 2024 11:40:55 +0800 Subject: [PATCH] update --- app/admin/svc/enterprise_manage/svc_self_support_for_school.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 41b04df..1978985 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 @@ -857,7 +857,7 @@ func SelfSupportForSchoolOrdStatistics(req md.SelfSupportForSchoolOrdListReq) (p sqlStr1 += " GROUP BY self_support_for_school_ord.user_identity_id" mapArr1, err := db.QueryNativeString(db.Db, sqlStr1) - if err != nil { + if err != nil || mapArr1 == nil { return 0, 0, 0, 0, 0, 0, err } personNum = int64(len(mapArr1[0]["user_identity_id"]))