package com.sckw.driver.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.driver.entity.KwBusinessDriver;
import com.sckw.driver.entity.req.KwBusinessDriverPageListParam;
import com.sckw.driver.entity.res.KwBusinessDriverDetailRes;
import com.sckw.driver.entity.res.KwBusinessDriverPageListRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DS("driver")
public interface KwBusinessDriverMapper extends BaseMapper<KwBusinessDriver> {

    KwBusinessDriverDetailRes getDriverDetailById(@Param("id") String id);

    List<KwBusinessDriverPageListRes> selectPageList(@Param("param") KwBusinessDriverPageListParam kwBusinessDriverPageListParam);
}
