package com.sckw.path.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.path.entity.KwBusinessPath;
import com.sckw.path.entity.req.LinePathFindListParam;
import com.sckw.path.entity.req.SelectPathParam;
import com.sckw.path.entity.res.PathFindListRes;
import com.sckw.path.entity.res.PathPageListRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DS("path")
public interface KwBusinessPathMapper extends BaseMapper<KwBusinessPath> {

    List<PathPageListRes> selectPageList(@Param("params") SelectPathParam param);
    List<PathFindListRes> selectFindList(@Param("params") LinePathFindListParam param);
}
