package com.ssm.manage.mapper;

import com.ssm.core.mapper.BaseMapper;
import com.ssm.manage.entity.CourseMoney;
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 CourseMoneyMapper extends BaseMapper<CourseMoney> {
    List<CourseMoney> selectByDate(@Param("rechargeDate") String rechargeDate);

    void saveList(@Param("courseInsert") List<CourseMoney> courseInsert);

    List<CourseMoney> fixedNegativeCardByRecharge(NegativeDayStatistic negativeDayStatistic);
}
