Commit 17cfa486 authored by 霍传世's avatar 霍传世

记录上传

parent d8a58c05
......@@ -108,7 +108,6 @@ public class studentPaperReportGeneratorController {
sql = sql + appendStatement;
List<String> zkzNums = baoMingJdbcTemplate.queryForList(sql,new Object[]{},String.class);
int i = 1;
......@@ -118,7 +117,7 @@ public class studentPaperReportGeneratorController {
ProcessBuilder processBuilderSubject = new ProcessBuilder();
String httpRequest = requestHeader + "/student/taca/20241201/"+zkzNum+"/md5";
String fileLocalPath = "/myworkSpace/jichu/"+zkzNum+".pdf";
processBuilderSubject.command("bash", "-c", "node /myworkSpace/pupeteer.js "+"www.baidu.com"+" pdf "+fileLocalPath);
processBuilderSubject.command("bash", "-c", "node /myworkSpace/puppeteer.js "+"https://www.baidu.com "+" pdf "+fileLocalPath);
processBuilderSubject.redirectErrorStream(true); // 合并标准输出和错误输出
Process processSubject = null;
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment