package yangtz.cs.liu.campus.mapper.vehicle;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.vehicle.SchoolVehicleApplication;
import yangtz.cs.liu.campus.vo.vehicle.VehicleApplicationVO;

/**
 * 用车申请Mapper接口
 *
 * @author xu
 * @date 2022-09-29
 */
@Mapper
public interface SchoolVehicleApplicationMapper extends BaseMapper<SchoolVehicleApplication> {
    int deleteByVehicleId(List<Long> ids);

    List<VehicleApplicationVO> queryList(@Param("entity") VehicleApplicationVO vehicleApplicationVO);

    List<VehicleApplicationVO> getByIds(List<Long> ids);

    VehicleApplicationVO getInfo(Long id);

}
