|
@@ -908,10 +908,10 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
String zipPath = target + File.separator + "results/" + num + ".zip";
|
|
|
new File(zipPath).delete();
|
|
|
|
|
|
-// FileUtils.zipFile(zipPath, target + File.separator + "results/ajk/");
|
|
|
- String command = "bash /opt/ossutil/gzip.sh " + zipPath.replace(".zip", "") + " " + target + File.separator + "results/ajk/";
|
|
|
- log.info("压缩文件:" + command);
|
|
|
- CreateObjUtil.callshell(command);
|
|
|
+ FileUtils.zipFile(zipPath, target + File.separator + "results/ajk/");
|
|
|
+// String command = "bash /opt/ossutil/gzip.sh " + zipPath.replace(".zip", "") + " " + target + File.separator + "results/ajk/";
|
|
|
+// log.info("压缩文件:" + command);
|
|
|
+// CreateObjUtil.callshell(command);
|
|
|
|
|
|
if(!new File(zipPath).exists()){
|
|
|
return ResultData.error(ErrorCode.FAILURE_CODE_5043);
|