Subversion Repositories SmartDukaan

Rev

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

Rev 33051 Rev 33054
Line 184... Line 184...
184
        //System.exit();
184
        //System.exit();
185
        LOGGER.info("Called run method");
185
        LOGGER.info("Called run method");
186
        if(args.containsOption("removePartialBillingForTransaction")) {
186
        if(args.containsOption("removePartialBillingForTransaction")) {
187
            if(args.containsOption("trId")) {
187
            if(args.containsOption("trId")) {
188
                int transactionId = Integer.parseInt(args.getOptionValues("trId").get(0));
188
                int transactionId = Integer.parseInt(args.getOptionValues("trId").get(0));
-
 
189
                scheduledTasks.removePartialBillingForTransaction(transactionId);
189
            }
190
            }
190
            System.exit(0);
191
            System.exit(0);
191
        }
192
        }
192
        if (args.containsOption("tc")) {
193
        if (args.containsOption("tc")) {
193
            System.out.println("Toffee service called");
194
            System.out.println("Toffee service called");