Subversion Repositories SmartDukaan

Rev

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

Rev 33427 Rev 33433
Line 1036... Line 1036...
1036
 
1036
 
1037
    @Autowired
1037
    @Autowired
1038
    WarehouseService warehouseService;
1038
    WarehouseService warehouseService;
1039
 
1039
 
1040
    public void test() throws Exception {
1040
    public void test() throws Exception {
1041
        sdCreditService.checkLoans();
1041
        //sdCreditService.checkLoans();
1042
        /*System.out.println(warehouseService.moveToBad(Arrays.asList("860374066889716",
1042
        /*System.out.println(warehouseService.moveToBad(Arrays.asList("860374066889716",
1043
                "863587077946699",
1043
                "863587077946699",
1044
                "865883067303639",
1044
                "865883067303639",
1045
                "868116066180113",
1045
                "868116066180113",
1046
                "868116066179719")));*/
1046
                "868116066179719")));*/
1047
        /*System.out.println(warehouseService.moveToGood(Arrays.asList("354814720314877",
1047
        /*System.out.println(warehouseService.moveToGood(Arrays.asList("354814720314877",
1048
                "43356/c21100001116",
1048
                "43356/c21100001116",
1049
                "34850/c21100054629")));*/
1049
                "34850/c21100054629")));*/
1050
        //this.test1();
1050
        //this.test1();
1051
        //this.processSidbiDeductions();
1051
        this.processSidbiDeductions();
1052
        /*List<Order> orders = orderRepository.selectByInvoiceNumber("NSDL43328");
1052
        /*List<Order> orders = orderRepository.selectByInvoiceNumber("NSDL43328");
1053
        invoiceService.saveInvoice(orders);*/
1053
        invoiceService.saveInvoice(orders);*/
1054
        /*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)) {
1054
        /*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)) {
1055
            try {
1055
            try {
1056
                sdCreditService.fundWallet(fofoId);
1056
                sdCreditService.fundWallet(fofoId);