|
|
|
@ -125,7 +125,7 @@ public class PerceptionDeviceController extends BaseController {
|
|
|
|
|
// 创建一个 TreeMap 用于存储每天的数据量
|
|
|
|
|
Map<LocalDate, Long> dailyCountsMap = new TreeMap<>();
|
|
|
|
|
// 循环迭代前6天
|
|
|
|
|
for (int i = 1; i <= 7; i++) {
|
|
|
|
|
for (int i =0; i < 7; i++) {
|
|
|
|
|
LocalDate date = currentDate.minusDays(i);
|
|
|
|
|
// 构造查询条件
|
|
|
|
|
QueryWrapper<TransitUserRecord> userRecordQueryWrapper = new QueryWrapper<>();
|
|
|
|
@ -162,7 +162,7 @@ public class PerceptionDeviceController extends BaseController {
|
|
|
|
|
// 创建一个 TreeMap 用于存储每天的数据量
|
|
|
|
|
Map<LocalDate, Long> dailyCountsMap = new TreeMap<>();
|
|
|
|
|
// 循环迭代前7天
|
|
|
|
|
for (int i = 1; i <= 7; i++) {
|
|
|
|
|
for (int i = 0; i < 7; i++) {
|
|
|
|
|
LocalDate date = currentDate.minusDays(i);
|
|
|
|
|
// 构造查询条件
|
|
|
|
|
QueryWrapper<TransitVehicleRecord> vehicleQueryWrapper = new QueryWrapper<>();
|
|
|
|
|