|
|
|
@ -1532,8 +1532,8 @@ queryStudentLoginLogByCondition
|
|
|
|
|
WHERE
|
|
|
|
|
1
|
|
|
|
|
and ta.user_id is not null
|
|
|
|
|
@if(!isEmpty(name)) {
|
|
|
|
|
and tc.`name` like #'%'+name+'%'#
|
|
|
|
|
@if(!isEmpty(codeOrName)) {
|
|
|
|
|
and concat(tc.`name`, tc.`code`) like #'%'+codeOrName+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(classId)) {
|
|
|
|
|
and and t.class_id = #classId#
|
|
|
|
@ -1629,8 +1629,8 @@ queryStudentUseLogByCondition
|
|
|
|
|
1
|
|
|
|
|
and ta.user_id is not null
|
|
|
|
|
AND tb.application_name IS NOT NULL
|
|
|
|
|
@if(!isEmpty(name)) {
|
|
|
|
|
and tc.`name` like #'%'+name+'%'#
|
|
|
|
|
@if(!isEmpty(codeOrName)) {
|
|
|
|
|
and concat(tc.`name`, tc.`code`) like #'%'+codeOrName+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(classId)) {
|
|
|
|
|
and and t.class_id = #classId#
|
|
|
|
|