|
|
|
@ -505,3 +505,68 @@ getExcelValues
|
|
|
|
|
)
|
|
|
|
|
)t
|
|
|
|
|
|
|
|
|
|
applicationUseLogsAnalysis
|
|
|
|
|
===
|
|
|
|
|
* 院校使用时长统计分析
|
|
|
|
|
|
|
|
|
|
select
|
|
|
|
|
@pageTag(){
|
|
|
|
|
first_name,
|
|
|
|
|
second_name,
|
|
|
|
|
universities_colleges_name,
|
|
|
|
|
universities_colleges_id,
|
|
|
|
|
user_type,
|
|
|
|
|
province,
|
|
|
|
|
day_time,
|
|
|
|
|
use_duration,
|
|
|
|
|
add_time,
|
|
|
|
|
org_id,
|
|
|
|
|
user_id
|
|
|
|
|
@}
|
|
|
|
|
from student_teacher_system_use_log_analysis t
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(id)){
|
|
|
|
|
and t.id =#id#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(firstName)){
|
|
|
|
|
and t.first_name =#firstName#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(secondName)){
|
|
|
|
|
and t.second_name =#secondName#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universitiesCollegesName)){
|
|
|
|
|
and t.universities_colleges_name =#universitiesCollegesName#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universitiesCollegesId)){
|
|
|
|
|
and t.universities_colleges_id =#universitiesCollegesId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universitiesCollegesIdPlural)){
|
|
|
|
|
and find_in_set(t.universities_colleges_id,#universitiesCollegesIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userType)){
|
|
|
|
|
and t.user_type =#userType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(province)){
|
|
|
|
|
and t.province =#province#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(dayTime)){
|
|
|
|
|
and t.day_time =#dayTime#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(useDuration)){
|
|
|
|
|
and t.use_duration =#useDuration#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(addTime)){
|
|
|
|
|
and t.add_time =#addTime#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|