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)