| Line 769... |
Line 769... |
| 769 |
LOGGER.info("partnerTicketCount {}", partnerTicketCount);
|
769 |
LOGGER.info("partnerTicketCount {}", partnerTicketCount);
|
| 770 |
|
770 |
|
| 771 |
List<PartnerTargetAchievementModel> ptams = new ArrayList<>();
|
771 |
List<PartnerTargetAchievementModel> ptams = new ArrayList<>();
|
| 772 |
|
772 |
|
| 773 |
if (fofoIds != null && fofoIds.size() > 0) {
|
773 |
if (fofoIds != null && fofoIds.size() > 0) {
|
| - |
|
774 |
LOGGER.info("fofoIds {}", fofoIds );
|
| 774 |
List<Integer> fofoIdList = fofoStoreRepository.selectByRetailerIds(new ArrayList<>(fofoIds)).stream()
|
775 |
List<Integer> fofoIdList = fofoStoreRepository.selectByRetailerIds(new ArrayList<>(fofoIds)).stream()
|
| 775 |
.filter(x -> (!x.isInternal() && (activationType == null || x.getActivationType().equals(activationType))))
|
776 |
.filter(x -> (!x.isInternal() && (activationType == null || x.getActivationType().equals(activationType))))
|
| 776 |
.map(x -> x.getId()).collect(Collectors.toList());
|
777 |
.map(x -> x.getId()).collect(Collectors.toList());
|
| 777 |
|
- |
|
| - |
|
778 |
LOGGER.info("fofoIdList {}", fofoIdList );
|
| 778 |
LocalDateTime startDate = LocalDate.now().atStartOfDay();
|
779 |
LocalDateTime startDate = LocalDate.now().atStartOfDay();
|
| 779 |
|
780 |
|
| 780 |
if (dayValue.equals("previous")) {
|
781 |
if (dayValue.equals("previous")) {
|
| 781 |
startDate = LocalDate.now().minusDays(1).atStartOfDay();
|
782 |
startDate = LocalDate.now().minusDays(1).atStartOfDay();
|
| 782 |
|
783 |
|