TVehicleLocationInfoServiceImpl.java 2.73 KB
Newer Older
1 2 3
package com.zehong.system.service.impl;

import com.zehong.system.domain.TVehicleLocationInfo;
4
import com.zehong.system.mapper.TVehicleLocationInfoMapper;
5
import com.zehong.system.service.ITVehicleLocationInfoService;
6 7 8 9
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
10 11 12 13 14 15 16 17

/**
 * 燃气车辆位置信息Service业务层处理
 * 
 * @author zehong
 * @date 2022-03-17
 */
@Service
18
public class TVehicleLocationInfoServiceImpl implements ITVehicleLocationInfoService
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
{
    @Autowired
    private TVehicleLocationInfoMapper tVehicleLocationInfoMapper;

    /**
     * 查询燃气车辆位置信息
     * 
     * @param vehicleLocationId 燃气车辆位置信息ID
     * @return 燃气车辆位置信息
     */
    @Override
    public TVehicleLocationInfo selectTVehicleLocationInfoById(Long vehicleLocationId)
    {
        return tVehicleLocationInfoMapper.selectTVehicleLocationInfoById(vehicleLocationId);
    }

    /**
     * 查询燃气车辆位置信息列表
     * 
     * @param tVehicleLocationInfo 燃气车辆位置信息
     * @return 燃气车辆位置信息
     */
    @Override
    public List<TVehicleLocationInfo> selectTVehicleLocationInfoList(TVehicleLocationInfo tVehicleLocationInfo)
    {
        return tVehicleLocationInfoMapper.selectTVehicleLocationInfoList(tVehicleLocationInfo);
    }

    /**
     * 新增燃气车辆位置信息
     * 
     * @param tVehicleLocationInfo 燃气车辆位置信息
     * @return 结果
     */
    @Override
    public int insertTVehicleLocationInfo(TVehicleLocationInfo tVehicleLocationInfo)
    {
        return tVehicleLocationInfoMapper.insertTVehicleLocationInfo(tVehicleLocationInfo);
    }

    /**
     * 修改燃气车辆位置信息
     * 
     * @param tVehicleLocationInfo 燃气车辆位置信息
     * @return 结果
     */
    @Override
    public int updateTVehicleLocationInfo(TVehicleLocationInfo tVehicleLocationInfo)
    {
        return tVehicleLocationInfoMapper.updateTVehicleLocationInfo(tVehicleLocationInfo);
    }

    /**
     * 批量删除燃气车辆位置信息
     * 
     * @param vehicleLocationIds 需要删除的燃气车辆位置信息ID
     * @return 结果
     */
    @Override
    public int deleteTVehicleLocationInfoByIds(Long[] vehicleLocationIds)
    {
        return tVehicleLocationInfoMapper.deleteTVehicleLocationInfoByIds(vehicleLocationIds);
    }

    /**
     * 删除燃气车辆位置信息信息
     * 
     * @param vehicleLocationId 燃气车辆位置信息ID
     * @return 结果
     */
    @Override
    public int deleteTVehicleLocationInfoById(Long vehicleLocationId)
    {
        return tVehicleLocationInfoMapper.deleteTVehicleLocationInfoById(vehicleLocationId);
    }
}