Subversion Repositories SmartDukaan

Rev

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

Rev 30627 Rev 30641
Line 732... Line 732...
732
			if (args.containsOption("fix-price-drops")) {
732
			if (args.containsOption("fix-price-drops")) {
733
				runOnceTasks.fixPriceDrop();
733
				runOnceTasks.fixPriceDrop();
734
 
734
 
735
			}
735
			}
736
 
736
 
-
 
737
			if (args.containsOption("processSchemeByIds")) {
-
 
738
				List<String> schemeIds = Arrays.asList(args.getOptionValues("ids").get(0).split(","));
-
 
739
				List<Integer> schemeIdsInt = schemeIds.stream().map(x -> Integer.parseInt(x)).collect(Collectors.toList());
-
 
740
				runOnceTasks.processSchemeByIds(schemeIdsInt);
-
 
741
 
-
 
742
			}
-
 
743
 
737
			System.exit(0);
744
			System.exit(0);
738
		}
745
		}
739
 
746
 
740
	}
747
	}
741
 
748