|
|
@@ -80,17 +80,13 @@ public class MjServiceImpl implements MjService {
|
|
|
try {
|
|
|
|
|
|
ScenePlus scenePlus = scenePlusService.getByTaskId(taskId);
|
|
|
- if(Objects.nonNull(scenePlus) && scenePlus.getSceneStatus() == SceneStatus.wait.code()){
|
|
|
- continue;
|
|
|
- }
|
|
|
+// if(Objects.nonNull(scenePlus) && scenePlus.getSceneStatus() == SceneStatus.wait.code()){
|
|
|
+// continue;
|
|
|
+// }
|
|
|
|
|
|
FileUtil.mkdir(zipDir);
|
|
|
String downloadCmd = "wget -O " + zipDir + zipName + " " + fileUrl;
|
|
|
CmdUtils.callLineSh(downloadCmd);
|
|
|
-// httpClient.downloadFile(fileUrl, zipDir, zipName);
|
|
|
-// String unzipCmd = "unzip -O GBK " + zipDir + zipName + " -d " + zipDir;
|
|
|
-
|
|
|
-// CmdUtils.callLine(unzipCmd);
|
|
|
|
|
|
ZipUtil.unzip(new File(zipDir + zipName), new File(zipDir));
|
|
|
//解压后删除压缩包
|