定时调这个接口(用于统计模块的使用时长)

beetlsql3-dev
Mlxa0324 2 years ago
parent c8bd4e03ad
commit 82d3264c9c

@ -32,7 +32,7 @@ public interface StudentTeacherSystemUseLogAnalysisDao extends BaseMapper<Studen
List<Map<String,Object>>getExcelValues(StudentTeacherSystemUseLogAnalysisQuery studentTeacherSystemUseLogAnalysisQuery);
/**
* 使
* 使使
* @param page
* @return
*/

@ -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#)
@}
Loading…
Cancel
Save