package com.ssm.manage.service;

import com.github.pagehelper.PageInfo;
import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.RechargeAccount;
import com.ssm.manage.entity.RechargeCardTransition;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.entity.TurnMembershipCard;
import com.ssm.manage.query.RechargeCardTransitionRequest;
import com.ssm.manage.query.TurnMembershipCardRequest;
import com.ssm.manage.response.RechargeCardTransitionResponse;

public interface SsmRechargeCardTransitionService  extends BaseService<RechargeCardTransition> {
    PageInfo<RechargeCardTransitionResponse> selectPage(RechargeCardTransitionRequest turnMembershipCardRequest);
    PageInfo<RechargeCardTransitionResponse> selectPageNew(RechargeCardTransitionRequest turnMembershipCardRequest);
    int add(RechargeCardTransitionRequest rechargeCardTransitionRequest,String phone) throws SmsException,Exception;
    int update(RechargeCardTransitionRequest rechargeCardTransitionRequest,String phone) throws SmsException,Exception;
    int updateState(RechargeCardTransitionRequest rechargeCardTransitionRequest,String phone) throws SmsException,Exception;
    int delete(RechargeCardTransitionRequest rechargeCardTransitionRequest) throws SmsException,Exception;
}
