| | |
| | | from sys_oper_log |
| | | where oper_url = '/index/addAccessLog' and oper_time >= #{createTime}; |
| | | </select> |
| | | |
| | | <!--select id="sysVisitList" resultType="java.util.Map"> |
| | | select title, count(*) count |
| | | from sys_oper_log |
| | | where oper_time >= #{createTime} and (title like '%平台' or title like '%分系统' or title like '%研讨厅' or title = '装备库') |
| | | group by title |
| | | order by count desc |
| | | limit ${amount}; |
| | | </select--> |
| | | |
| | | <select id="sysVisitList" resultType="java.util.Map"> |
| | | select menu_name "name", |
| | | (select count(*) from sys_oper_log b where b.title = a.menu_name and date(oper_time) = date(now())) "tcount", |
| | | (select count(*) from sys_oper_log b where b.title = a.menu_name and week(oper_time) = week(now())) "wcount" |
| | | from sys_menu a |
| | | where a.mark = 'index' and a.menu_type = 'C' |
| | | order by a.order_num; |
| | | </select> |
| | | </mapper> |