From 537941e6bb774bb5592c1cdf3ea9706aca6c997f Mon Sep 17 00:00:00 2001 From: huanghai <10402852@qq.com> Date: Wed, 29 Jul 2020 17:07:14 +0800 Subject: [PATCH] 'commit' --- .../RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go b/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go index 208ed6bf..b46687a0 100644 --- a/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go +++ b/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go @@ -216,7 +216,7 @@ func ExportStudentInfoExcel(targetPath string, bureauId string, ExportExcelStatu if len(ClassIds) > 0 { myBuilder.And(builder.In("t2.class_id", ClassIds)) } - myBuilder.OrderBy("t2.rxnf,t2.bh,t1.id_int asc") + myBuilder.OrderBy("t2.stage_id,t2.rxnf,t2.bh,t1.id_int asc") sql, _ := myBuilder.ToBoundSQL() list, err := db.SQL(sql).Query().List() if err != nil {