Subversion Repositories SmartDukaan

Rev

Rev 29442 | Rev 29563 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29442 Rev 29556
Line 1504... Line 1504...
1504
 
1504
 
1505
	@Autowired
1505
	@Autowired
1506
	PartnerDailyInvestmentRepository partnerDailyInvestmentRepository;
1506
	PartnerDailyInvestmentRepository partnerDailyInvestmentRepository;
1507
 
1507
 
1508
	public void addInvestment() {
1508
	public void addInvestment() {
1509
		List<LocalDate> dates = Arrays.asList(LocalDate.of(2021, 8, 17));
1509
		List<LocalDate> dates = Arrays.asList(
-
 
1510
				LocalDate.of(2021, 10, 19),
-
 
1511
				LocalDate.of(2021, 10, 20),
-
 
1512
				LocalDate.of(2021, 10, 31)
-
 
1513
				);
1510
		// List<Integer> fofoIds = Arrays.asList(175136207, 175138910, 175138967,
1514
		// List<Integer> fofoIds = Arrays.asList(175136207, 175138910, 175138967,
1511
		// 175138990, 175138999);
1515
		// 175138990, 175138999);
1512
		for (LocalDate date : dates) {
1516
		for (LocalDate date : dates) {
1513
			LOGGER.info("Date - {}", date);
1517
			LOGGER.info("Date - {}", date);
1514
			Map<Integer, PartnerDailyInvestment> investmentMap = partnerDailyInvestmentRepository
1518
			Map<Integer, PartnerDailyInvestment> investmentMap = partnerDailyInvestmentRepository
Line 1575... Line 1579...
1575
				}
1579
				}
1576
			}
1580
			}
1577
		}
1581
		}
1578
	}
1582
	}
1579
 
1583
 
-
 
1584
	public void reverseSchemes(String invoiceNumber) throws Exception {
-
 
1585
		FofoOrder fofoOrder = fofoOrderRepository.selectByInvoiceNumber(invoiceNumber);
-
 
1586
		orderService.reverseScheme(fofoOrder);
-
 
1587
	}
-
 
1588
 
1580
}
1589
}
1581
 
1590
 
1582
//7015845171
1591
//7015845171
1583
1592