Subversion Repositories SmartDukaan

Rev

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

Rev 34515 Rev 34532
Line 1075... Line 1075...
1075
            }
1075
            }
1076
            schemeService.processSchemeOut(scanRecord.getOrderId(), scanRecord.getFofoId());
1076
            schemeService.processSchemeOut(scanRecord.getOrderId(), scanRecord.getFofoId());
1077
        }
1077
        }
1078
    }
1078
    }
1079
 
1079
 
-
 
1080
    //
1080
 
1081
 
1081
    public void test() throws Exception {
1082
    public void test() throws Exception {
-
 
1083
        this.processScheme(LocalDate.of(2025, 4, 29).atStartOfDay(), LocalDate.of(2025, 5, 2).atStartOfDay(), false);
-
 
1084
        //this.testWhatsapp();
1082
        //this.reverseOppoPayout();
1085
        //this.reverseOppoPayout();
1083
        //this.rolloutOppoPayout();
1086
        //this.rolloutOppoPayout();
1084
        this.debitLoanAmountFromWallet();
1087
        //this.debitLoanAmountFromWallet();
1085
        //List<TotalLoanAmountDueModel> totalLoanAmountDueModels = loanRepository.getDueLoansByFofoId(175139438);
1088
        //List<TotalLoanAmountDueModel> totalLoanAmountDueModels = loanRepository.getDueLoansByFofoId(175139438);
1086
        //System.out.println(totalLoanAmountDueModels);
1089
        //System.out.println(totalLoanAmountDueModels);
1087
        //runOnceTasks.findCNDiff();
1090
        //runOnceTasks.findCNDiff();
1088
        /*this.updatePartnerLimit();
1091
        /*this.updatePartnerLimit();
1089
        System.out.println(getSuggestedLimit(300000d));
1092
        System.out.println(getSuggestedLimit(300000d));
Line 1095... Line 1098...
1095
        System.out.println(getSuggestedLimit(2000000d));
1098
        System.out.println(getSuggestedLimit(2000000d));
1096
        System.out.println(getSuggestedLimit(2500000d));*/
1099
        System.out.println(getSuggestedLimit(2500000d));*/
1097
        //Utils.sendMailWithAttachments(googleMailSender, new String[]{"amit.gupta@smartdukaan.com"}, null, "DTDC AWb", "PFA");
1100
        //Utils.sendMailWithAttachments(googleMailSender, new String[]{"amit.gupta@smartdukaan.com"}, null, "DTDC AWb", "PFA");
1098
    }
1101
    }
1099
 
1102
 
-
 
1103
    private void testWhatsapp() throws Exception {
-
 
1104
        System.out.println("Calling whatsapp test");
-
 
1105
        String message = "Hi HO SmartDukaan, Your bid for Oppo Reno 10 Pro 5G (12GB 256GB) has been placed successfully!";
-
 
1106
        notificationService.sendWhatsappMessage(message, null, "9990381569");
-
 
1107
    }
-
 
1108
 
1100
    private void debitLoanAmountFromWallet() {
1109
    private void debitLoanAmountFromWallet() {
1101
        List l1 = Arrays.asList(1234, 1420, 2694, 8129, 12182, 12880, 16289, 16462, 16551, 16625, 16819, 17606, 18902, 19152, 19663, 22409, 22410, 23924, 24058, 24206, 24215, 24220, 24459, 25977, 30585, 31590);
1110
        List l1 = Arrays.asList(1234, 1420, 2694, 8129, 12182, 12880, 16289, 16462, 16551, 16625, 16819, 17606, 18902, 19152, 19663, 22409, 22410, 23924, 24058, 24206, 24215, 24220, 24459, 25977, 30585, 31590);
1102
        l1.addAll(Arrays.asList(11849, 12702, 14554, 14643, 19166, 19638, 32824, 33467, 33954, 34017, 34514, 35128, 35229, 35355, 36007, 36351, 36435, 36586, 36608, 36612, 36665, 37076, 37495, 37678, 38519, 38563, 38638, 38690, 38815, 38840, 39015, 39084, 39142, 39379, 39384, 39586, 39636, 39657, 39755, 39788, 39908, 40054, 40220, 40534, 41731, 41962, 42692));
1111
        l1.addAll(Arrays.asList(11849, 12702, 14554, 14643, 19166, 19638, 32824, 33467, 33954, 34017, 34514, 35128, 35229, 35355, 36007, 36351, 36435, 36586, 36608, 36612, 36665, 37076, 37495, 37678, 38519, 38563, 38638, 38690, 38815, 38840, 39015, 39084, 39142, 39379, 39384, 39586, 39636, 39657, 39755, 39788, 39908, 40054, 40220, 40534, 41731, 41962, 42692));
1103
        l1.addAll(Arrays.asList());
1112
        l1.addAll(Arrays.asList());
1104
    }
1113
    }