From 2d24a2cb2647d02a550286b3b137028a9f2d493c Mon Sep 17 00:00:00 2001 From: 18154758993 <605281283@qq.com> Date: Thu, 16 Oct 2025 09:53:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/stureg/SrsStuRegCountMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srs-stureg/src/main/resources/mapper/stureg/SrsStuRegCountMapper.xml b/srs-stureg/src/main/resources/mapper/stureg/SrsStuRegCountMapper.xml index 364d691..5063119 100644 --- a/srs-stureg/src/main/resources/mapper/stureg/SrsStuRegCountMapper.xml +++ b/srs-stureg/src/main/resources/mapper/stureg/SrsStuRegCountMapper.xml @@ -238,7 +238,7 @@ select s.tools_type,case when r.xy='经济管理学院' then '长堽校区' when r.xy='信息工程学院' then '长堽校区' else '里建校区' end as xq from srs_at_station s inner join srs_stu_reg r on s.ksh=r.ksh where s.create_time>CURDATE()-INTERVAL 90 DAY ) t - group by tools_type,xq order by xq,totalnum desc + group by tools_type,xq order by xq,count(1) desc