package com.ssm.manage.dao;

import com.github.pagehelper.PageInfo;
import com.ssm.manage.entity.PromotionList;
import com.ssm.manage.query.PromotionListRequest;

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

public interface SsmPromotionDao extends BaseDao<PromotionList> {

    PageInfo<PromotionListRequest> selectPage(PromotionListRequest promotionListRequest);
    List<Map<String,Object>> selectList(PromotionListRequest promotionListRequest);
    List<PromotionList> selectPages(PromotionListRequest promotionListRequest);
    PageInfo<PromotionList> selectPagenew(PromotionListRequest promotionListRequest);

    List<PromotionList> selectPromotionType(PromotionListRequest promotionListRequest);
}
