package com.ssm.manage.service;

import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.*;
import com.ssm.manage.query.RefundCashReqest;
import com.ssm.manage.query.StoreDailyRequest;
import com.ssm.manage.response.CashListResponse;
import com.ssm.manage.response.RefundCashResponse;

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

public interface SsmRefundCashService extends BaseService<RefundCash> {
    List<RefundCashResponse> selectList(RefundCashReqest refundCashReqest);

    int addRefundCash(List<RefundCashReqest> list, RefundOrderList refundOrderList) throws SmsException;
    int addRefundCashSalem(List<RefundCashReqest> list, RefundOrderList refundOrderList, BaseStore baseStore1) throws SmsException;

    int updateRefundCash(List<RefundCashReqest> list, RefundOrderList refundOrderList) throws SmsException;

    int audit(RefundOrderList refundOrderList) throws SmsException;

    int unAudit(RefundOrderList refundOrderList) throws  SmsException;

    List<RefundCashResponse> selectList(Long storeId, String date);
    List<CashListResponse> selectLists(Long storeId, String dateStr, Date date);
    List<RefundCash> selectListsByStartTimeAndEndTime(Long storeId, String dateStr, Date startTime,Date endTime);
    List<CashListResponse> selectListsDept(Long storeId, String dateStr, Date date);
    List<RefundCash> selectListschia(Long storeId, Date startDate,Date endDate);
    List<RefundCashResponse> selectLists(Long storeId, String startDate, String endDate);

    List<RefundCash> selectListNew(RefundCashReqest refundCashReqest);

    List<RefundCash> selectFKJByRefundCashGifMoney(StoreDailyRequest storeDailyRequest);
}
