Subversion Repositories SmartDukaan

Rev

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

Rev 33295 Rev 33297
Line 1027... Line 1027...
1027
 
1027
 
1028
    @Autowired
1028
    @Autowired
1029
    InvoiceService invoiceService;
1029
    InvoiceService invoiceService;
1030
 
1030
 
1031
    public void test() throws Exception {
1031
    public void test() throws Exception {
1032
        CreditAccount   creditAccount = creditAccountRepository.selectByFofoIdAndGateway(175139723, Gateway.SDDIRECT);
1032
        for ( int fofoId : Arrays.asList(175139623, 175139355, 175139576)) {
1033
        CurrentPartnerDailyInvestment currentPartnerDailyInvestment  = currentPartnerDailyInvestmentRepository.selectAll().stream().filter(x->x.getFofoId()==175139723).findFirst().get();
-
 
1034
        BigDecimal bigDecimal = this.getSuggestedAmount(creditAccount,currentPartnerDailyInvestment, new ArrayList<>());
-
 
1035
        System.out.println("Amount - " + bigDecimal.toString());
1033
            sdCreditService.fundWallet(fofoId);
-
 
1034
        }
1036
 
1035
 
1037
        //transactionService.moveOrdersFulfimentWarehouseByBillingWarehouseId(7573);
1036
        //transactionService.moveOrdersFulfimentWarehouseByBillingWarehouseId(7573);
1038
    }
1037
    }
1039
 
1038
 
1040
    public void test3() throws Exception {
1039
    public void test3() throws Exception {