日志分析+导出

beetlsql3-dev
Mlxa0324
parent 2b95b640a9
commit 27ecfbee0f

@ -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#
@}
@}
GROUP BY
DATE_FORMAT(ta.create_time, '%Y-%m-%d'),
te.universities_colleges_name,
te.universities_colleges_province
Loading…
Cancel
Save