| Line 3... |
Line 3... |
| 3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 4 |
import com.spice.profitmandi.dao.model.BulletinOfferModal;
|
4 |
import com.spice.profitmandi.dao.model.BulletinOfferModal;
|
| 5 |
import com.spice.profitmandi.dao.model.TodayOfferModel;
|
5 |
import com.spice.profitmandi.dao.model.TodayOfferModel;
|
| 6 |
import org.springframework.stereotype.Service;
|
6 |
import org.springframework.stereotype.Service;
|
| 7 |
|
7 |
|
| - |
|
8 |
import java.time.LocalDateTime;
|
| 8 |
import java.util.List;
|
9 |
import java.util.List;
|
| 9 |
|
10 |
|
| 10 |
@Service
|
11 |
@Service
|
| 11 |
public interface TodayOfferService {
|
12 |
public interface TodayOfferService {
|
| 12 |
|
13 |
|
| 13 |
|
14 |
|
| 14 |
List<BulletinOfferModal> findAllTodayCatalogOfferBulletin(List<Integer> regionIds)
|
15 |
List<BulletinOfferModal> findAllTodayCatalogOfferBulletin(List<Integer> regionIds, LocalDateTime startDate, LocalDateTime endDate)
|
| 15 |
throws ProfitMandiBusinessException;
|
16 |
throws ProfitMandiBusinessException;
|
| 16 |
|
17 |
|
| 17 |
List<BulletinOfferModal> findAllTodaySchemeBulletin(List<Integer> regionIds)
|
18 |
List<BulletinOfferModal> findAllTodaySchemeBulletin(List<Integer> regionIds, LocalDateTime startDate, LocalDateTime endDate)
|
| 18 |
throws ProfitMandiBusinessException;
|
19 |
throws ProfitMandiBusinessException;
|
| 19 |
|
20 |
|
| 20 |
// @Override
|
- |
|
| 21 |
List<BulletinOfferModal> findAllTodayWebOfferBulletin()
|
21 |
List<BulletinOfferModal> findAllTodayWebOfferBulletin(LocalDateTime startDate, LocalDateTime endDate)
|
| 22 |
throws ProfitMandiBusinessException;
|
22 |
throws ProfitMandiBusinessException;
|
| 23 |
|
23 |
|
| 24 |
List<BulletinOfferModal> getAllTodayCreatedPreBookingList();
|
24 |
List<BulletinOfferModal> getAllTodayCreatedPreBookingList(LocalDateTime startDate, LocalDateTime endDate);
|
| 25 |
|
25 |
|
| 26 |
List<TodayOfferModel> findAllTodayOffer(String brand, int reatialerId) throws ProfitMandiBusinessException;
|
26 |
List<TodayOfferModel> findAllTodayOffer(String brand, int reatialerId) throws ProfitMandiBusinessException;
|
| 27 |
|
27 |
|
| 28 |
List<TodayOfferModel> groupSameOffers(List<TodayOfferModel> list);
|
28 |
List<TodayOfferModel> groupSameOffers(List<TodayOfferModel> list);
|
| 29 |
}
|
29 |
}
|