修改前置兼容性bug

This commit is contained in:
hzj
2026-04-16 13:49:17 +08:00
parent 61e67fc1c8
commit 6cf56d6768
2 changed files with 11 additions and 7 deletions

View File

@@ -343,7 +343,7 @@ public class DataRecallController extends BaseController {
}
if(recallType ==3){
return;
// return;
}else if(recallType ==2){
Integer timeInterval = data.getTimeInterval();
List<LocalDateTime> localDateTimeList = generateTimeIntervals(finalCurrentDate, timeInterval);
@@ -353,7 +353,7 @@ public class DataRecallController extends BaseController {
List<String> timePeriod = mergeTimeIntervals(localDateTimeList, timeInterval);
//最大时间段为300
if(timePeriod.size()<300){
RecallMessage.RecallDTO recallDTO = new RecallMessage.RecallDTO();
RecallMessage.RecallDTO recallDTO = new RecallMessage.RecallDTO();
recallDTO.setDataType("0");
recallDTO.setMonitorId(Stream.of(temp).collect(Collectors.toList()));
recallDTO.setTimeInterval(timePeriod);