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)