xuhy
2024-05-28 5470d21a35286abe41fafc25a7deaabefd7c55da
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
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.Line;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
public interface LineMapper extends BaseMapper<Line> {
 
    /**
     * 获取企业的所有线路
     * @param companyId
     * @return
     */
    List<Map<String, Object>> queryLine(@Param("companyId") Integer companyId);
 
 
 
    /**
     * 根据站点id获取匹配的线路数据
     * @param siteId
     * @param type
     * @return
     */
    List<Map<String, Object>> queryLines(@Param("siteId") Integer siteId, @Param("type")Integer type,
                                         @Param("companyId") Integer companyId);
}