From 9da85c0df057c364bf6c033a91912ed7e1f7c802 Mon Sep 17 00:00:00 2001 From: huanghai <10402852@qq.com> Date: Wed, 29 Jul 2020 17:06:43 +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 2679617b..208ed6bf 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") + myBuilder.OrderBy("t2.rxnf,t2.bh,t1.id_int asc") sql, _ := myBuilder.ToBoundSQL() list, err := db.SQL(sql).Query().List() if err != nil {