package com.xxfc.platform.vehicle.mapper;

import com.xxfc.platform.vehicle.entity.VehicleManageApply;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface VehicleManageApplyMapper extends Mapper<VehicleManageApply> {

    @Select("SELECT * FROM vehicle_manage_apply WHERE is_del = 0 and vehicle_id =#{vehicleId} ORDER BY id DESC LIMIT 1")
    VehicleManageApply getVehicleApply(@Param("vehicleId")String vehicleId);

}