刘韬 3 jaren geleden
bovenliggende
commit
68bbbaaef7

+ 1 - 1
DataFusion/src/com/zskk/service/DataService.java

@@ -94,7 +94,7 @@ public class DataService {
     public static void main(String[] args) throws IOException, ParserConfigurationException {
     	
     	 Random r = new Random();
-         Integer ran1 = r.nextInt(10000);
+         Integer ran1 = r.nextInt(100000);
          System.out.print(ran1);
 	}
 

+ 1 - 1
DataFusion/src/com/zskk/task/DownloadTask.java

@@ -87,7 +87,7 @@ public class DownloadTask implements ITask {
         is = response.body().byteStream();
         String path = "/home/lenovo/CFIND_XML";
         Random r = new Random();
-        Integer ran1 = r.nextInt(10000);
+        Integer ran1 = r.nextInt(100000);
         File file = new File(path, uid+ran1.toString());
         try {
             fos = new FileOutputStream(file);