|
|
|
@ -1538,8 +1538,11 @@ queryStudentLoginLogByCondition
|
|
|
|
|
@if(!isEmpty(classId)) {
|
|
|
|
|
and t.class_id = #classId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(loginStartTime) && !isEmpty(loginEndTime)) {
|
|
|
|
|
and ta.create_time BETWEEN #loginStartTime# and #loginEndTime#
|
|
|
|
|
@if(!isEmpty(loginStartTime)) {
|
|
|
|
|
and ta.create_time >= #loginStartTime#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(loginEndTime)) {
|
|
|
|
|
and ta.create_time <= #loginEndTime#
|
|
|
|
|
@}
|
|
|
|
|
@// 用来过滤院校管理员所能查看的数据
|
|
|
|
|
@if(!isEmpty(universitiesCollegesId)) {
|
|
|
|
@ -1635,8 +1638,11 @@ queryStudentUseLogByCondition
|
|
|
|
|
@if(!isEmpty(classId)) {
|
|
|
|
|
and t.class_id = #classId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(loginStartTime) && !isEmpty(loginEndTime)) {
|
|
|
|
|
and ta.create_time BETWEEN #loginStartTime# and #loginEndTime#
|
|
|
|
|
@if(!isEmpty(loginStartTime)) {
|
|
|
|
|
and ta.create_time >= #loginStartTime#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(loginEndTime)) {
|
|
|
|
|
and ta.create_time <= #loginEndTime#
|
|
|
|
|
@}
|
|
|
|
|
@// 用来过滤院校管理员所能查看的数据
|
|
|
|
|
@if(!isEmpty(universitiesCollegesId)) {
|
|
|
|
@ -1684,8 +1690,11 @@ queryStudentLogAnalysisByCondition
|
|
|
|
|
and te.universities_colleges_id = #universitiesCollegesId#
|
|
|
|
|
and t.student_id is not null
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(loginStartTime) && !isEmpty(loginEndTime)) {
|
|
|
|
|
and ta.create_time BETWEEN #loginStartTime# and #loginEndTime#
|
|
|
|
|
@if(!isEmpty(loginStartTime)) {
|
|
|
|
|
and ta.create_time >= #loginStartTime#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(loginEndTime)) {
|
|
|
|
|
and ta.create_time <= #loginEndTime#
|
|
|
|
|
@}
|
|
|
|
|
GROUP BY
|
|
|
|
|
DATE_FORMAT(ta.create_time, '%Y-%m-%d'),
|
|
|
|
|