重点人天数更新

develop
hanrenchun 10 months ago
parent cc784498c5
commit 9a3a8165cd

@ -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<>();

@ -27,5 +27,6 @@ public class MetaImpUserModelInfoVO extends BaseEntity {
private String warningTime;
private String value;
}
Loading…
Cancel
Save