package com.clx.performance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clx.performance.model.TruckPosition;
import com.clx.performance.sqlProvider.TruckPositionProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 车辆位置;
 *
 * @author : jiangwenye
 * @date : 2024-05-29
 */
@Mapper
public interface TruckPositionMapper extends BaseMapper<TruckPosition> {

    @InsertProvider(type = TruckPositionProvider.class, method = "replaceTruckPosition")
    void replaceTruckPosition(List<TruckPosition> truckPositionList);

}
