From 9650bef88604f0fe359a10fc258eae454d2d31d3 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Tue, 11 Jun 2024 10:43:54 +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 7df7b82..0d1962a 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 @@ -760,8 +760,8 @@ func SelfSupportForSchoolOrdStatistics(req md.SelfSupportForSchoolOrdListReq) (p sess6.And("self_support_for_school_ord.enterprise_id =?", req.EnterpriseId) } if req.StartDate != "" { - sqlStr1 += fmt.Sprintf(" and self_support_for_school_ord.face_time >= %s", req.StartDate) - sqlStr += fmt.Sprintf(" and self_support_for_school_ord.face_time >= %s", req.StartDate) + sqlStr1 += fmt.Sprintf(" and self_support_for_school_ord.face_time >= '%s'", req.StartDate) + sqlStr += fmt.Sprintf(" and self_support_for_school_ord.face_time >= '%s'", req.StartDate) sess3.And("self_support_for_school_ord.face_time >= ?", req.StartDate) sess4.And("self_support_for_school_ord.face_time >= ?", req.StartDate) sess5.And("self_support_for_school_ord.face_time >= ?", req.StartDate)