| Line 858... |
Line 858... |
| 858 |
Map<Integer, Integer> shortDaysMap = partnerDailyInvestmentRepository
|
858 |
Map<Integer, Integer> shortDaysMap = partnerDailyInvestmentRepository
|
| 859 |
.selectAll(LocalDate.now().withDayOfMonth(1), LocalDate.now()).stream().collect(Collectors.groupingBy(
|
859 |
.selectAll(LocalDate.now().withDayOfMonth(1), LocalDate.now()).stream().collect(Collectors.groupingBy(
|
| 860 |
x -> x.getFofoId(), Collectors.summingInt(x -> x.getShortPercentage() > 10 ? 1 : 0)));
|
860 |
x -> x.getFofoId(), Collectors.summingInt(x -> x.getShortPercentage() > 10 ? 1 : 0)));
|
| 861 |
|
861 |
|
| 862 |
for (FofoStore fofoStore : fofoStores) {
|
862 |
for (FofoStore fofoStore : fofoStores) {
|
| - |
|
863 |
LOGGER.info("Fofo Store {}, {}", fofoStore.getId(), fofoStore.getCode());
|
| 863 |
int fofoId = fofoStore.getId();
|
864 |
int fofoId = fofoStore.getId();
|
| 864 |
PartnerDailyInvestment partnerDailyInvestment = partnerInvestmentService.getInvestment(fofoId, 1);
|
865 |
PartnerDailyInvestment partnerDailyInvestment = partnerInvestmentService.getInvestment(fofoId, 1);
|
| 865 |
partnerDailyInvestment.setDate(yesterDay);
|
866 |
partnerDailyInvestment.setDate(yesterDay);
|
| 866 |
|
867 |
|
| 867 |
try {
|
868 |
try {
|