diff --git a/web/src/main/java/com/ibeetl/jlw/dao/StudentTeacherSystemUseLogAnalysisDao.java b/web/src/main/java/com/ibeetl/jlw/dao/StudentTeacherSystemUseLogAnalysisDao.java index 38c9913a..fcba5807 100644 --- a/web/src/main/java/com/ibeetl/jlw/dao/StudentTeacherSystemUseLogAnalysisDao.java +++ b/web/src/main/java/com/ibeetl/jlw/dao/StudentTeacherSystemUseLogAnalysisDao.java @@ -32,7 +32,7 @@ public interface StudentTeacherSystemUseLogAnalysisDao extends BaseMapper<Studen List<Map<String,Object>>getExcelValues(StudentTeacherSystemUseLogAnalysisQuery studentTeacherSystemUseLogAnalysisQuery); /** - * 分页查询使用记录,院校级别的统计。不关心哪个用户 + * 分页查询使用记录,院校使用时长统计分析 * @param page * @return */ diff --git a/web/src/main/resources/sql/jlw/studentTeacherSystemUseLogAnalysis.md b/web/src/main/resources/sql/jlw/studentTeacherSystemUseLogAnalysis.md index a754c3b2..9d14e9c6 100644 --- a/web/src/main/resources/sql/jlw/studentTeacherSystemUseLogAnalysis.md +++ b/web/src/main/resources/sql/jlw/studentTeacherSystemUseLogAnalysis.md @@ -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#) + @} \ No newline at end of file