|
|
|
@ -67,7 +67,18 @@ queryByCondition
|
|
|
|
|
@if(!isEmpty(studentName)){
|
|
|
|
|
and t2.student_name =#studentName#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentId)){
|
|
|
|
|
and t.student_id =#studentId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentIdPlural)){
|
|
|
|
|
and find_in_set(t.student_id,#studentIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
queryByConditionQuery
|
|
|
|
|
===
|
|
|
|
@ -136,6 +147,18 @@ queryByConditionQuery
|
|
|
|
|
@if(!isEmpty(studentName)){
|
|
|
|
|
and t2.student_name =#studentName#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentId)){
|
|
|
|
|
and t.student_id =#studentId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentIdPlural)){
|
|
|
|
|
and find_in_set(t.student_id,#studentIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -268,6 +291,18 @@ getStudentHandsOnTaskReportValues
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentId)){
|
|
|
|
|
and t.student_id =#studentId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentIdPlural)){
|
|
|
|
|
and find_in_set(t.student_id,#studentIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getValuesByQuery
|
|
|
|
@ -326,6 +361,18 @@ getValuesByQuery
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentId)){
|
|
|
|
|
and t.student_id =#studentId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentIdPlural)){
|
|
|
|
|
and find_in_set(t.student_id,#studentIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getValuesByQueryNotWithPermission
|
|
|
|
@ -384,6 +431,18 @@ getValuesByQueryNotWithPermission
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentId)){
|
|
|
|
|
and t.student_id =#studentId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(studentIdPlural)){
|
|
|
|
|
and find_in_set(t.student_id,#studentIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
getReportList
|
|
|
|
|
===
|
|
|
|
|