package com.ssm.manage.service;

import com.github.pagehelper.PageInfo;
import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.PromotionList;
import com.ssm.manage.entity.PromotionMember;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.query.PromotionListRequest;

import java.util.List;

public interface SsmPromotionMemberService extends BaseService<PromotionMember> {
    PageInfo<PromotionMember> selectPage(PromotionListRequest promotionListRequest);

    int addPromotionMember(List<PromotionMember> list, PromotionList promotionList) throws SmsException;

    int updatePromotionMember(List<PromotionMember> list, PromotionList promotionList) throws SmsException;
}
