From 820724a76b4db9ea0eeb14049473ad56ebfb6d45 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期五, 27 十月 2023 13:19:30 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai

---
 cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml b/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
index 4b1bc79..da4b78a 100644
--- a/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
+++ b/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
@@ -148,7 +148,7 @@
                                   FROM t_course_package_payment py
                                            LEFT JOIN t_course_package cp ON py.coursePackageId = cp.id
                                   GROUP BY studentId
-                                  ORDER BY studentId, totalClassHours
+                                  ORDER BY studentId, length(name) desc ,totalClassHours
                               ) subquery
                      ) a
         <where>

--
Gitblit v1.7.1