package com.ssm.manage.mapper;

import com.ssm.core.mapper.BaseMapper;
import com.ssm.manage.entity.BaseGrouponCard;
import com.ssm.manage.entity.RechargeMoney;
import com.ssm.manage.extendEntity.NegativeDayStatistic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface RechargeMoneyMapper extends BaseMapper<RechargeMoney> {
    List<RechargeMoney> selectByDate(@Param("rechargeDate") String  rechargeDate);

    void saveList(@Param("rechargeInsert") List<RechargeMoney> rechargeInsert);

    List<RechargeMoney> fixedNegativeCardByRecharge(NegativeDayStatistic negativeDayStatistic);
}
