!34 fix: 查询访问量和IP日统计列表时根据传入的时间范围查询
Merge pull request !34 from 坏小村/master
This commit is contained in:
@@ -55,7 +55,8 @@
|
||||
FROM
|
||||
sys_log
|
||||
WHERE
|
||||
is_deleted = 0
|
||||
create_time BETWEEN #{startDate} AND #{endDate}
|
||||
AND is_deleted = 0
|
||||
GROUP BY
|
||||
DATE_FORMAT(create_time, '%Y-%m-%d')
|
||||
</select>
|
||||
@@ -68,7 +69,8 @@
|
||||
FROM
|
||||
sys_log
|
||||
WHERE
|
||||
is_deleted = 0
|
||||
create_time BETWEEN #{startDate} AND #{endDate}
|
||||
AND is_deleted = 0
|
||||
GROUP BY
|
||||
DATE_FORMAT(create_time, '%Y-%m-%d')
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user