|
@@ -35,37 +35,37 @@ public class KTDownload {
|
|
|
public void testExcel() throws Exception {
|
|
|
|
|
|
//explain_gif
|
|
|
-// List<QuestionInfoKtGet> explainGifList = questionInfoGetService.selectQuestionInfoKtGetExplainGifList(); //要修改
|
|
|
-// downLoadList(explainGifList, "explainGifList");
|
|
|
-//
|
|
|
-// //explain_mp3
|
|
|
-// List<QuestionInfoKtGet> explainMp3List = questionInfoGetService.selectQuestionInfoKtGetExplainMp3List(); //要修改
|
|
|
-// downLoadList(explainMp3List, "explainMp3List");
|
|
|
-//
|
|
|
-// //image
|
|
|
-// List<QuestionInfoKtGet> imageList = questionInfoGetService.selectQuestionInfoKtGetImageList(); //要修改
|
|
|
-// downLoadList(imageList, "imageList");
|
|
|
+ List<QuestionInfoKtGet> explainGifList = questionInfoGetService.selectQuestionInfoKtGetExplainGifList(); //要修改
|
|
|
+ downLoadList(explainGifList, "explainGifList");
|
|
|
+
|
|
|
+ //explain_mp3
|
|
|
+ List<QuestionInfoKtGet> explainMp3List = questionInfoGetService.selectQuestionInfoKtGetExplainMp3List(); //要修改
|
|
|
+ downLoadList(explainMp3List, "explainMp3List");
|
|
|
+
|
|
|
+ //image
|
|
|
+ List<QuestionInfoKtGet> imageList = questionInfoGetService.selectQuestionInfoKtGetImageList(); //要修改
|
|
|
+ downLoadList(imageList, "imageList");
|
|
|
|
|
|
//image_ydt
|
|
|
-// List<QuestionInfoKtGet> imageYdtList = questionInfoGetService.selectQuestionInfoKtGetImageYdtList(); //要修改
|
|
|
-// downLoadList(imageYdtList, "imageYdtList");
|
|
|
+ List<QuestionInfoKtGet> imageYdtList = questionInfoGetService.selectQuestionInfoKtGetImageYdtList(); //要修改
|
|
|
+ downLoadList(imageYdtList, "imageYdtList");
|
|
|
|
|
|
//issuemp3
|
|
|
-// List<QuestionInfoKtGet> issuemp3List = questionInfoGetService.selectQuestionInfoKtGetIssuemp3List(); //要修改
|
|
|
-// downLoadList(issuemp3List, "issuemp3List");
|
|
|
-//
|
|
|
-//
|
|
|
-// //answermp3
|
|
|
-// List<QuestionInfoKtGet> answermp3List = questionInfoGetService.selectQuestionInfoKtGetAnswermp3List(); //要修改
|
|
|
-// downLoadList(answermp3List, "answermp3List");
|
|
|
-//
|
|
|
-// //explainjsmp3
|
|
|
-// List<QuestionInfoKtGet> explainjsmp3List = questionInfoGetService.selectQuestionInfoKtGetExplainjsmp3List(); //要修改
|
|
|
-// downLoadList(explainjsmp3List, "explainjsmp3List");
|
|
|
-
|
|
|
-
|
|
|
- List<WebNoteAll> webNoteAllList = webNoteAllService.selectWebNoteAllMediaUrlList();
|
|
|
- downLoadList2(webNoteAllList, "webNoteAllList");
|
|
|
+ List<QuestionInfoKtGet> issuemp3List = questionInfoGetService.selectQuestionInfoKtGetIssuemp3List(); //要修改
|
|
|
+ downLoadList(issuemp3List, "issuemp3List");
|
|
|
+
|
|
|
+
|
|
|
+ //answermp3
|
|
|
+ List<QuestionInfoKtGet> answermp3List = questionInfoGetService.selectQuestionInfoKtGetAnswermp3List(); //要修改
|
|
|
+ downLoadList(answermp3List, "answermp3List");
|
|
|
+
|
|
|
+ //explainjsmp3
|
|
|
+ List<QuestionInfoKtGet> explainjsmp3List = questionInfoGetService.selectQuestionInfoKtGetExplainjsmp3List(); //要修改
|
|
|
+ downLoadList(explainjsmp3List, "explainjsmp3List");
|
|
|
+
|
|
|
+
|
|
|
+// List<WebNoteAll> webNoteAllList = webNoteAllService.selectWebNoteAllMediaUrlList();
|
|
|
+// downLoadList2(webNoteAllList, "webNoteAllList");
|
|
|
|
|
|
}
|
|
|
|
|
@@ -103,7 +103,7 @@ public class KTDownload {
|
|
|
String fileName = mediaUrl.substring(index + 1);
|
|
|
System.out.println(mediaUrl + "," + fileName);
|
|
|
try {
|
|
|
- downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20230223\\explain_gif"); //要修改
|
|
|
+ downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20231020\\explain_gif"); //要修改
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -120,7 +120,7 @@ public class KTDownload {
|
|
|
String fileName = mediaUrl.substring(index + 1);
|
|
|
System.out.println(mediaUrl + "," + fileName);
|
|
|
try {
|
|
|
- downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20230223\\explain_mp3"); //要修改
|
|
|
+ downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20231020\\explain_mp3"); //要修改
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -135,7 +135,7 @@ public class KTDownload {
|
|
|
String fileName = mediaUrl.substring(index + 1);
|
|
|
System.out.println(mediaUrl + "," + fileName);
|
|
|
try {
|
|
|
- downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20230223\\image"); //要修改
|
|
|
+ downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20231020\\image"); //要修改
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -149,7 +149,7 @@ public class KTDownload {
|
|
|
String fileName = mediaUrl.substring(index + 1);
|
|
|
System.out.println(mediaUrl + "," + fileName);
|
|
|
try {
|
|
|
- downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20230223\\image_ydt"); //要修改
|
|
|
+ downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20231020\\image_ydt"); //要修改
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -163,7 +163,7 @@ public class KTDownload {
|
|
|
String fileName = mediaUrl.substring(index + 1);
|
|
|
System.out.println(mediaUrl + "," + fileName);
|
|
|
try {
|
|
|
- downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20230223\\issue_mp3"); //要修改
|
|
|
+ downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20231020\\issue_mp3"); //要修改
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -178,7 +178,7 @@ public class KTDownload {
|
|
|
String fileName = mediaUrl.substring(index + 1);
|
|
|
System.out.println(mediaUrl + "," + fileName);
|
|
|
try {
|
|
|
- downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20230223\\answer_mp3"); //要修改
|
|
|
+ downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20231020\\answer_mp3"); //要修改
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -193,7 +193,7 @@ public class KTDownload {
|
|
|
String fileName = mediaUrl.substring(index + 1);
|
|
|
System.out.println(mediaUrl + "," + fileName);
|
|
|
try {
|
|
|
- downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20230223\\explain_js_mp3");
|
|
|
+ downLoadFromUrl(mediaUrl, fileName, "G:\\中正\\题库图\\kt20231020\\explain_js_mp3");
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|