mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-02 10:57:10 +08:00
feat: 完善仪表盘访客地域分布区块内容
This commit is contained in:
@@ -22,4 +22,14 @@
|
||||
ORDER BY `pvCount` DESC
|
||||
LIMIT 10
|
||||
</select>
|
||||
|
||||
<select id="selectListDashboardGeoDistribution" resultType="java.util.Map">
|
||||
SELECT
|
||||
`location` AS name,
|
||||
COUNT(DISTINCT `client_ip`) AS value
|
||||
FROM `sys_log`
|
||||
GROUP BY `location`
|
||||
ORDER BY COUNT(DISTINCT `client_ip`) DESC
|
||||
LIMIT 10
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user