yanghb
2023-04-04 82c12a0e90b4c71514595420749c63b25f73f52a
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.TLine;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 跨城线路 Mapper 接口
 * </p>
 *
 * @author 吕雪
 * @since 2020-09-15
 */
public interface TLineMapper extends BaseMapper<TLine> {
 
    /**
     * 根据条件查询线路列表
     * @return
     */
    List<Map<String,Object>> getLineList(@Param("page") Page<Map<String, Object>> page,
                                         @Param("beginTime") String beginTime,
                                         @Param("endTime") String endTime,
                                         @Param("name") String name,
                                         @Param("insertUser") String insertUser,
                                         @Param("modelStr") String modelStr,
                                         @Param("state") Integer state,
                                         @Param("type") Integer type);
 
    /**
     * 根据线路ID查询线路价格
     * @param lineId
     * @return
     */
    List<Map<String,Object>> getLinePriceList(@Param("lineId") Integer lineId);
 
    /**
     * 根据线路ID查询线路已分配公司
     * @param lineId
     * @return
     */
    List<Map<String,Object>> getLineCompanyList(@Param("lineId") Integer lineId);
}