Subversion Repositories SmartDukaan

Rev

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

Rev 33315 Rev 33316
Line 1026... Line 1026...
1026
    }
1026
    }
1027
 
1027
 
1028
    @Autowired
1028
    @Autowired
1029
    InvoiceService invoiceService;
1029
    InvoiceService invoiceService;
1030
 
1030
 
1031
    public void test1() throws Exception {
1031
    public void test() throws Exception {
1032
        List<Order> orders = orderRepository.selectByInvoiceNumber("NSDL43328");
1032
        /*List<Order> orders = orderRepository.selectByInvoiceNumber("NSDL43328");
1033
        invoiceService.saveInvoice(orders);
1033
        invoiceService.saveInvoice(orders);*/
1034
        /*for ( int fofoId : Arrays.asList(175139623, 175139355, 175139576)) {
1034
        for ( int fofoId : Arrays.asList(4149607,175138674,175138854,175138934,175138958,175139138,175139150,175139245,175139259,175139306,175139324,175139344,175139346,175139362,175139386,175139395,175139412,175139452,175139455,175139460,175139462,175139463,175139488,175139489,175139499,175139504,175139508,175139511,175139513,175139521,175139524,175139531,175139532,175139557,175139559,175139576,175139603,175139605,175139608,175139612,175139621,175139630,175139638,175139657,175139661,175139690,175139697,175139716,175139731)) {
1035
            sdCreditService.fundWallet(fofoId);
1035
            sdCreditService.fundWallet(fofoId);
1036
        }*/
1036
        }
1037
 
1037
 
1038
        //transactionService.moveOrdersFulfimentWarehouseByBillingWarehouseId(7573);
1038
        //transactionService.moveOrdersFulfimentWarehouseByBillingWarehouseId(7573);
1039
    }
1039
    }
1040
 
1040
 
1041
    public void test3() throws Exception {
1041
    public void test3() throws Exception {
Line 1059... Line 1059...
1059
                        WalletReferenceType.ADDITIONAL_SCHEME, "Imeis returned - " + partnerPayouts.size() + "pc(s)", LocalDateTime.now());
1059
                        WalletReferenceType.ADDITIONAL_SCHEME, "Imeis returned - " + partnerPayouts.size() + "pc(s)", LocalDateTime.now());
1060
            }
1060
            }
1061
        }
1061
        }
1062
    }
1062
    }
1063
 
1063
 
1064
    public void test() throws Exception {
1064
    public void test1() throws Exception {
1065
        System.out.println("Hello from test");
1065
        System.out.println("Hello from test");
1066
        //this.calculateInterestAccured();
1066
        //this.calculateInterestAccured();
1067
        //sendMailOfHtmlFormat(javaMailSender, new String[]{"amit.gupta@smartdukaan.com"}, "hello", null, "Hello");
1067
        //sendMailOfHtmlFormat(javaMailSender, new String[]{"amit.gupta@smartdukaan.com"}, "hello", null, "Hello");
1068
        //priceDropService.rejectPriceDropsOfApprovedImeis();
1068
        //priceDropService.rejectPriceDropsOfApprovedImeis();
1069
        //Create return
1069
        //Create return