Subversion Repositories SmartDukaan

Rev

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

Rev 30896 Rev 30924
Line 1092... Line 1092...
1092
			Sample sample = new Sample(csvRecord.get(0), csvRecord.get(1), csvRecord.get(2));
1092
			Sample sample = new Sample(csvRecord.get(0), csvRecord.get(1), csvRecord.get(2));
1093
			//StringUtils.getLevenshteinDistance()
1093
			//StringUtils.getLevenshteinDistance()
1094
		}
1094
		}
1095
	}
1095
	}
1096
 
1096
 
-
 
1097
	public void fixMissingCredits() {
-
 
1098
		userWalletHistoryRepository
-
 
1099
	}
-
 
1100
 
1097
	private class SioTuple {
1101
	private class SioTuple {
1098
		int inventoryId;
1102
		int inventoryId;
1099
		SchemeType schemeType;
1103
		SchemeType schemeType;
1100
 
1104
 
1101
		public SioTuple(int inventoryItemId, SchemeType schemeType) {
1105
		public SioTuple(int inventoryItemId, SchemeType schemeType) {
Line 1543... Line 1547...
1543
	@Autowired
1547
	@Autowired
1544
	PartnerDailyInvestmentRepository partnerDailyInvestmentRepository;
1548
	PartnerDailyInvestmentRepository partnerDailyInvestmentRepository;
1545
 
1549
 
1546
	public void addInvestment() {
1550
	public void addInvestment() {
1547
		List<LocalDate> dates = Arrays.asList(
1551
		List<LocalDate> dates = Arrays.asList(
1548
				LocalDate.of(2022, 7, 15),
1552
				LocalDate.of(2022, 8, 29)
1549
				LocalDate.of(2022, 7, 16)
1553
				//LocalDate.of(2022, 7, 16)
1550
		);
1554
		);
1551
		// List<Integer> fofoIds = Arrays.asList(175136207, 175138910, 175138967,
1555
		// List<Integer> fofoIds = Arrays.asList(175136207, 175138910, 175138967,
1552
		// 175138990, 175138999);
1556
		// 175138990, 175138999);
1553
		for (LocalDate date : dates) {
1557
		for (LocalDate date : dates) {
1554
			LOGGER.info("Date - {}", date);
1558
			LOGGER.info("Date - {}", date);