From d7129833111359f94def14347a5a7462f3268e59 Mon Sep 17 00:00:00 2001 From: wuchunlei Date: Mon, 26 May 2025 13:12:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=88=86=E5=88=97=E8=A1=A8=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E6=8C=89=EF=BC=8C=E8=87=AA=E5=B7=B1=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E8=AF=84=E7=9A=84=E2=86=92=E7=AD=89=E5=BE=85=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E4=BA=BA=E8=AF=84=E7=9A=84=E2=86=92=E5=85=A8=E9=83=A8=E8=AF=84?= =?UTF-8?q?=E5=88=86=E5=AE=8C=E6=88=90=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/common/service/impl/ClassEntityServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/peanut/modules/common/service/impl/ClassEntityServiceImpl.java b/src/main/java/com/peanut/modules/common/service/impl/ClassEntityServiceImpl.java index e53f2aa0..e8a70d58 100644 --- a/src/main/java/com/peanut/modules/common/service/impl/ClassEntityServiceImpl.java +++ b/src/main/java/com/peanut/modules/common/service/impl/ClassEntityServiceImpl.java @@ -886,6 +886,7 @@ public class ClassEntityServiceImpl extends ServiceImpl0,1,0) as flag"); wrapper.orderByAsc("flag"); + wrapper.orderByAsc(ClassTask::getScoreSuccess); } wrapper.eq(ClassTask::getType,params.get("type")); } @@ -1017,6 +1018,7 @@ public class ClassEntityServiceImpl extends ServiceImpl0,1,0) as flag"); wrapper.orderByAsc("flag"); + wrapper.orderByAsc(ClassTaskAndQuesReply::getScoreSuccess); wrapper.orderByAsc(ClassTaskAndQuesReply::getCreateTime); Page TaskAndQuesReplyPage = classTaskAndQuesReplyDao.selectPage(new Page<>(page, limit), wrapper); for (ClassTaskAndQuesReply classTaskAndQuesReply :TaskAndQuesReplyPage.getRecords()){ @@ -1248,6 +1250,7 @@ public class ClassEntityServiceImpl extends ServiceImpl> replyPage = classTaskAndQuesReplyDao.selectMapsPage(new Page<>(page, limit), replyWrap); for (Map map:replyPage.getRecords()){