Commit 87e46c4d by 杨林龙

1.50.0 开发1.50.0需求版本 优化警情数据返回结果

1 parent b73a3075
...@@ -121,7 +121,7 @@ public class RiskAssessmentService { ...@@ -121,7 +121,7 @@ public class RiskAssessmentService {
// 查询时间段 全天 // 查询时间段 全天
request.setPeriodType(0); request.setPeriodType(0);
request.setBeginTime(DateUtil.getOffsetDayDate(DateUtil.parseDateYmd(gpsLocation.getDateTime()), -30)); request.setBeginTime(DateUtil.getOffsetDayDate(DateUtil.parseDateYmd(gpsLocation.getDateTime()), -30));
request.setEndTime(DateUtil.parseDateYmd(gpsLocation.getDateTime())); request.setEndTime(DateUtil.getOffsetDayDate(DateUtil.parseDateYmd(gpsLocation.getDateTime()), 1));
List<StayPointRecordDTO> stayPointRecordList = remoteFeignStayPointService.getStayPointRecord(request); List<StayPointRecordDTO> stayPointRecordList = remoteFeignStayPointService.getStayPointRecord(request);
if (CollectionUtils.isEmpty(stayPointRecordList)) { if (CollectionUtils.isEmpty(stayPointRecordList)) {
log.warn(sn + "暂设备暂无历史停留点"); log.warn(sn + "暂设备暂无历史停留点");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!