From a4a52e225951e8c1fc0cd95ad4b958f3d116cc3d Mon Sep 17 00:00:00 2001 From: dengbiao Date: Tue, 11 Jun 2024 10:42:07 +0800 Subject: [PATCH] update --- .../svc/enterprise_manage/svc_self_support_for_school.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 fc1d7bc..7df7b82 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 @@ -768,8 +768,8 @@ func SelfSupportForSchoolOrdStatistics(req md.SelfSupportForSchoolOrdListReq) (p sess6.And("self_support_for_school_ord.face_time >= ?", req.StartDate) } if req.EndDate != "" { - sqlStr1 += fmt.Sprintf(" and self_support_for_school_ord.face_time <= %s", req.EndDate) - sqlStr += fmt.Sprintf(" and self_support_for_school_ord.face_time <= %s", req.EndDate) + sqlStr1 += fmt.Sprintf(" and self_support_for_school_ord.face_time <= '%s'", req.EndDate) + sqlStr += fmt.Sprintf(" and self_support_for_school_ord.face_time <= '%s'", req.EndDate) sess3.And("self_support_for_school_ord.face_time <= ?", req.EndDate) sess4.And("self_support_for_school_ord.face_time <= ?", req.EndDate) sess5.And("self_support_for_school_ord.face_time <= ?", req.EndDate)