修复流量统计数据不准确的问题

This commit is contained in:
aoshiguchen
2023-03-26 14:18:57 +08:00
parent 247ec55b17
commit 144adfe73f
@@ -45,8 +45,8 @@ public interface FlowReportDayMapper extends BaseMapper<FlowReportDayDO> {
default List<FlowReportDayDO> findListByDateRange(Date startDate, Date endDate) {
return this.selectList(new LambdaQueryWrapper<FlowReportDayDO>()
.le(FlowReportDayDO::getDate, startDate)
.gt(FlowReportDayDO::getDate, endDate)
.ge(FlowReportDayDO::getDate, startDate)
.le(FlowReportDayDO::getDate, endDate)
);
}
}