统计在线人数

beetlsql3-dev
Mlxa0324 2 years ago
parent 3801ef6ee0
commit 58d5fc4d6f

@ -211,9 +211,9 @@ systemUseLogsAnalysis
* 系统使用分析 * 系统使用分析
select count(1) as count, select count(1) as count,
@// 如果没指定天数,则默认是月度统计
@if(!isEmpty(day)) { @if(!isEmpty(day)) {
DATE_FORMAT(create_time, '%Y-%m-%d') as time DATE_FORMAT(create_time, '%Y-%m-%d') as time
@// 如果没指定天数,则默认是月度统计
@} else { @} else {
DATE_FORMAT(create_time, '%Y-%m') as time DATE_FORMAT(create_time, '%Y-%m') as time
@} @}

Loading…
Cancel
Save