package com.bonus.core.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bonus.core.customer.dto.AddPsnTypeDTO;
import com.bonus.core.customer.dto.QueryPsnTypeDTO;
import com.bonus.core.customer.model.CustPsnType;
import com.bonus.core.customer.v4.web.vo.ExportPsnTypeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CustPsnTypeMapper extends BaseMapper<CustPsnType> {
   CustPsnType selectPsnType(AddPsnTypeDTO param);

   Page<ExportPsnTypeVO> pagePsnTypeList(Page page, @Param("param") QueryPsnTypeDTO param);
}
