From 27ecfbee0fba3528ef1ce0c89357b2dc666b2b75 Mon Sep 17 00:00:00 2001 From: Mlxa0324 Date: Sat, 17 Dec 2022 23:20:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=88=86=E6=9E=90+=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/resources/sql/jlw/student.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/web/src/main/resources/sql/jlw/student.md b/web/src/main/resources/sql/jlw/student.md index 27d18085..1cb63d31 100644 --- a/web/src/main/resources/sql/jlw/student.md +++ b/web/src/main/resources/sql/jlw/student.md @@ -1544,7 +1544,6 @@ queryStudentLoginLogByCondition @// 用来过滤院校管理员所能查看的数据 @if(!isEmpty(universitiesCollegesId)) { and td.universities_colleges_id = #universitiesCollegesId# - and t.student_id is not null @} @if(!isEmpty(isOnLine)) { and (count( 1 ) % 2 = 1) = #isOnLine# @@ -1642,7 +1641,6 @@ queryStudentUseLogByCondition @// 用来过滤院校管理员所能查看的数据 @if(!isEmpty(universitiesCollegesId)) { and td.universities_colleges_id = #universitiesCollegesId# - and ta.student_id is not null and tb.application_name is not null @} @if(!isEmpty(isOnLine)) { @@ -1678,10 +1676,6 @@ queryStudentLogAnalysisByCondition WHERE 1 AND te.universities_colleges_id IS NOT NULL - GROUP BY - DATE_FORMAT(ta.create_time, '%Y-%m-%d'), - te.universities_colleges_name, - te.universities_colleges_province @// 用来过滤院校管理员所能查看的数据 @if(!isEmpty(universitiesCollegesId)) { and te.universities_colleges_id = #universitiesCollegesId# @@ -1689,4 +1683,8 @@ queryStudentLogAnalysisByCondition @} @if(!isEmpty(loginStartTime) && !isEmpty(loginEndTime)) { and and ta.create_time BETWEEN #loginStartTime# and #loginEndTime# - @} \ No newline at end of file + @} + GROUP BY + DATE_FORMAT(ta.create_time, '%Y-%m-%d'), + te.universities_colleges_name, + te.universities_colleges_province \ No newline at end of file