diff --git a/app/admin/svc/svc_data_statisstics.go b/app/admin/svc/svc_data_statisstics.go index 6dec7fe..31ae571 100644 --- a/app/admin/svc/svc_data_statisstics.go +++ b/app/admin/svc/svc_data_statisstics.go @@ -588,7 +588,7 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta return } } else { - err := db.Db.Where("enterprise_id = ?", req.EnterpriseId).Find(&deviceList) + err := db.Db.Where("enterprise_id = ?", req.EnterpriseId).OrderBy("CONVERT(name USING gbk) ASC").Find(&deviceList) if err != nil { logx.Error(err) println("<<<>>>>1111Error:::", err.Error())