package com.ssm.manage.service;

import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.CourseMoney;
import com.ssm.manage.entity.NegativeCardDayRecord;
import com.ssm.manage.entity.RechargeMoney;
import com.ssm.manage.extendEntity.CourseNegative;
import com.ssm.manage.extendEntity.NegativeDayStatistic;
import com.ssm.manage.extendEntity.NegativeKazin;
import com.ssm.manage.extendEntity.RechargeNegative;

import java.util.Date;
import java.util.List;

public interface SsmNegativeCardService extends BaseService<NegativeCardDayRecord> {
    List<NegativeDayStatistic> selectDayList(Long storeId, Date date);
    RechargeNegative rechargeDayStatistic(Long storeId, Date date);
    RechargeNegative rechargeDayStatisticByDate(Long storeId, Date startTime,Date endTime);
    CourseNegative CourseDayStatistic(Long storeId, Date date);
    CourseNegative CourseDayStatisticByDate(Long storeId, Date startTime,Date endTime);
//    List<NegativeDayStatistic> selectDayListNews(Long storeId, Date date);
//    List<NegativeDayStatistic> selectNowList(Long storeId);

    int saveNegativeRecord(Date date);
    void saveNegativeTask();

    List<RechargeMoney> fixedNegativeCardByRecharge(NegativeDayStatistic negativeDayStatistic);

    List<CourseMoney> fixedNegativeCardByCourse(NegativeDayStatistic negativeDayStatistic);
}
