puzhibing
2023-02-15 2811bab657aab4145b65a45a824fb63e93b58e30
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
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
     */
    List<Map<String, Object>> queryCarList(@Param("companyId") Integer companyId);
 
 
    /**
     * 获取车辆详情
     * @param id
     * @return
     */
    Map<String, Object> queryCarInfo(@Param("id") Integer id);
}