| Line 795... |
Line 795... |
| 795 |
PartnerType todayPartnerType = partnerTypeChangeService.getTypeOnDate(fofoId, today);
|
795 |
PartnerType todayPartnerType = partnerTypeChangeService.getTypeOnDate(fofoId, today);
|
| 796 |
if(!yesterdayPartnerType.equals(todayPartnerType)) {
|
796 |
if(!yesterdayPartnerType.equals(todayPartnerType)) {
|
| 797 |
LOGGER.info("Partner Type has been changed for code {} from {} to {}", store.getCode(), yesterdayPartnerType, todayPartnerType);
|
797 |
LOGGER.info("Partner Type has been changed for code {} from {} to {}", store.getCode(), yesterdayPartnerType, todayPartnerType);
|
| 798 |
List<FofoOrder> fofoOrders = fofoOrderRepository.selectByFofoId(fofoId, yesterday.withDayOfMonth(1).atStartOfDay(), yesterday.atTime(LocalTime.MAX), 0,0);
|
798 |
List<FofoOrder> fofoOrders = fofoOrderRepository.selectByFofoId(fofoId, yesterday.withDayOfMonth(1).atStartOfDay(), yesterday.atTime(LocalTime.MAX), 0,0);
|
| 799 |
for(FofoOrder fofoOrder : fofoOrders) {
|
799 |
for(FofoOrder fofoOrder : fofoOrders) {
|
| - |
|
800 |
//TODO - SCHEME
|
| - |
|
801 |
//Skip this as of now to avoid any mishap
|
| 800 |
schemeService.processSchemeOut(fofoOrder.getId(), fofoId);
|
802 |
//schemeService.processSchemeOut(fofoOrder.getId(), fofoId);
|
| 801 |
}
|
803 |
}
|
| 802 |
}
|
804 |
}
|
| 803 |
}
|
805 |
}
|
| 804 |
}
|
806 |
}
|
| 805 |
}
|
807 |
}
|