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);
|
}
|