fix: 查询访问量和IP日统计列表时根据传入的时间范围查询

This commit is contained in:
huaixiaocun
2025-06-03 23:20:40 +08:00
parent f62dcb57e3
commit b7c4d861f8

View File

@@ -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>