package com.ssm.manage.dao;

import com.github.pagehelper.PageInfo;
import com.ssm.manage.entity.DocPromotion;
import com.ssm.manage.extendEntity.StoreDaily;
import com.ssm.manage.query.DocPromotionRequest;
import com.ssm.manage.query.StoreDailyRequest;
import com.ssm.manage.response.DocPromotionResponse;
import com.ssm.manage.response.PromotionDayVo;

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

public interface SsmDocPromotionDao extends BaseDao<DocPromotion> {
    PageInfo<DocPromotion> selectPage(DocPromotionRequest docPromotionRequest);
    PageInfo<DocPromotion> selectPageNew(DocPromotionRequest docPromotionRequest);

    int updateStaff(DocPromotion docPromotion);
    List<DocPromotion> selectFKJ(DocPromotionRequest docPromotion);

    DocPromotion selectOne(DocPromotion docPromotion);

    StoreDaily selectDayRecord(StoreDailyRequest storeDailyRequest);

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