package com.ssm.manage.dao;

import com.github.pagehelper.PageInfo;
import com.ssm.manage.entity.CardChangeList;
import com.ssm.manage.extendEntity.StoreDaily;
import com.ssm.manage.query.CardChangeListRequest;
import com.ssm.manage.query.StoreDailyRequest;
import com.ssm.manage.response.CardChangeDayVo;

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

public interface SsmCardChangeDao extends BaseDao<CardChangeList> {
    PageInfo<CardChangeList> selectPage(CardChangeListRequest cardChangeListRequest);
    PageInfo<CardChangeList> selectPageNew(CardChangeListRequest cardChangeListRequest);
    PageInfo<CardChangeList> pageDetail(CardChangeListRequest cardChangeListRequest);
    List<CardChangeList> selectListSalem(CardChangeList cardChangeList);
    List<CardChangeList> selectListDocNum(CardChangeList cardChangeList);
    List<CardChangeList> selectFKJ(CardChangeList cardChangeList);

    List<CardChangeDayVo> selectByDay(List<Long> storeIds, Date startTime, Date endTime);

    List<StoreDaily> selectByDayGroupByDateAndStoreId(StoreDailyRequest storeDailyRequest);
}
