package com.sckw.address.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.address.entity.KwBusinessAddress;
import com.sckw.address.entity.vo.req.KwBusinessAddressListParam;
import com.sckw.address.entity.vo.req.KwBusinessAddressPageListParam;
import com.sckw.address.entity.vo.res.KwBusinessAddressListRes;
import com.sckw.address.entity.vo.res.KwBusinessPageListRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DS("address")
public interface KwBusinessAddressMapper extends BaseMapper<KwBusinessAddress> {

    List<KwBusinessPageListRes> selectPageList(@Param("selectPageParam") KwBusinessAddressPageListParam kwBusinessAddressListParam);

    List<KwBusinessAddressListRes> list(@Param("param") KwBusinessAddressListParam param);
}
