beetlsql3-dev
Mlxa0324 2 years ago
parent d0594ef06b
commit a8d66d9e93

@ -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'),

Loading…
Cancel
Save