Subversion Repositories SmartDukaan

Rev

Rev 35549 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.service.offers;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.dao.model.BulletinOfferModal;
import com.spice.profitmandi.dao.model.TodayOfferModel;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

@Service
public interface TodayOfferService {


    List<BulletinOfferModal> findAllTodayCatalogOfferBulletin(List<Integer> regionIds, LocalDateTime startDate, LocalDateTime endDate)
            throws ProfitMandiBusinessException;

    List<BulletinOfferModal> findAllTodaySchemeBulletin(List<Integer> regionIds, LocalDateTime startDate, LocalDateTime endDate)
            throws ProfitMandiBusinessException;

    List<BulletinOfferModal> findAllTodayWebOfferBulletin(LocalDateTime startDate, LocalDateTime endDate)
            throws ProfitMandiBusinessException;

    List<BulletinOfferModal> getAllTodayCreatedPreBookingList(LocalDateTime startDate, LocalDateTime endDate);

    List<TodayOfferModel> findAllTodayOffer(String brand, int reatialerId) throws ProfitMandiBusinessException;

    List<TodayOfferModel> groupSameOffers(List<TodayOfferModel> list);
}