package com.sckw.company.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.company.entity.KwBusinessDept;
import com.sckw.company.entity.req.KwBusinessDeptListReq;
import com.sckw.company.entity.res.KwBusinessDeptListRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DS("company")
public interface KwBusinessDeptMapper extends BaseMapper<KwBusinessDept> {

    List<KwBusinessDeptListRes> findList(@Param("params") KwBusinessDeptListReq params);
}
