package com.bonus.canteen.core.customer.mapper;

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

import java.util.List;

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

   List<ExportPsnTypeVO> pagePsnTypeList(@Param("param") QueryPsnTypeDTO param);
}
