TrafficEventServiceImpl.java 1.24 KB
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);
    }
}