TrafficEventServiceImpl.java
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.viontech.service.impl;
import com.viontech.mapper.TrafficEventMapper;
import com.viontech.service.TrafficEventService;
import com.viontech.vo.traffic.DeviceModel;
import com.viontech.vo.traffic.LaneModel;
import com.viontech.vo.traffic.TollgateModel;
import com.viontech.vo.traffic.TrafficModel;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Slf4j
@Service
public class TrafficEventServiceImpl implements TrafficEventService {
@Autowired
private TrafficEventMapper trafficEventMapper;
@Override
public List<Object> selectJsonDatas(TrafficModel trafficModel) {
return trafficEventMapper.selectJsonDatas(trafficModel);
}
@Override
public List<DeviceModel> selectDeviceDatas(DeviceModel deviceModel) {
return trafficEventMapper.selectDeviceDatas(deviceModel);
}
@Override
public List<TollgateModel> selectTollgateDatas(TollgateModel tollgateModel) {
return trafficEventMapper.selectTollgateDatas(tollgateModel);
}
@Override
public List<LaneModel> selectLaneDatas(LaneModel laneModel) {
return trafficEventMapper.selectLaneDatas(laneModel);
}
}