luodangjia
2024-12-10 31ce6be2d56798d9509e6d90335999064351f7f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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<Car> {
 
 
    /**
     * 获取空闲车辆
     * @param companyId
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryIdleData(@Param("companyId") Integer companyId) throws Exception;
    List<Map<String, Object>> queryIdleData1(@Param("companyId") Integer companyId,@Param("driverId")Integer driverId) throws Exception;
 
 
    /**
     * 车牌查询
     * @param licensePlate
     * @return
     * @throws Exception
     */
    Car query(@Param("licensePlate") String licensePlate) throws Exception;
}