package com.stylefeng.guns.modular.system.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.stylefeng.guns.modular.system.model.Car; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; public interface CarMapper extends BaseMapper { /** * 获取空闲车辆 * @param companyId * @return * @throws Exception */ List> queryIdleData(@Param("companyId") Integer companyId) throws Exception; /** * 车牌查询 * @param licensePlate * @return * @throws Exception */ Car query(@Param("licensePlate") String licensePlate) throws Exception; List> queryIdleDataFromId(@Param("id") Integer id); void updateUseState(@Param("uid") Integer uid); }