Commit cf5f21b4 authored by duanruiming's avatar duanruiming

[update] 车道快照数据优化

parent a0c23b0a
......@@ -97,4 +97,5 @@ public class CrossLaneSnapshotDataDTO {
* 0=未溢出,1=溢出
*/
private String overflow;
private String overflowNums;
}
......@@ -1968,7 +1968,7 @@ public class TrendServiceImpl implements TrendService {
public List<TableQueryVO.RealTimeDataElement> laneSnapshotIndex(CommonCrossIdDateTimeVO crossIdDateTimeVO) throws Exception {
String crossId = crossIdDateTimeVO.getCrossId();
int start = (int) (crossIdDateTimeVO.getStart().getTime() / 1000);
int end = (int) (crossIdDateTimeVO.getStart().getTime() / 1000);
int end = (int) (crossIdDateTimeVO.getEnd().getTime() / 1000);
// 查询秒级数据
List<CrossLaneSnapshotDataDTO> dtoList =
laneSnapshotDataQueryService.queryByCrossIdAndTimeSpan(crossId, start, end);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment