package com.ssj.mapper.sys;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ssj.bean.sys.codeexchange.CodeExchange;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Mount Liu
 * @date 2019/12/18
 */
@Mapper
public interface SysMapper {

    /**
     * 查找优惠码列表
     *
     * @param page
     * @param params
     * @return
     */
    List<CodeExchange> findCodeExchangeListByPage(Page page, @Param("map") Map<String, Object> params);

}
