|
@@ -342,15 +342,15 @@ public class ToInfraredServiceImpl extends BaseServiceImpl<ToInfraredMapper, ToI
|
|
|
// 步骤 5. 将算法参数map序列化为json字符串,保存到数据库中
|
|
|
entity.setAlgorithmParameters(JsonUtils.toJsonString(result));
|
|
|
|
|
|
- makeDir(entity.getInputPath());
|
|
|
- makeDir(entity.getOutputPath());
|
|
|
-
|
|
|
File file = new File(entity.getInputPath());
|
|
|
if (!file.exists()) {
|
|
|
String resourcePath = getResourcePath(ossService.getById(entity.getInputOssId()));
|
|
|
ZipUtils.unzip(resourcePath, entity.getInputPath());
|
|
|
}
|
|
|
|
|
|
+ makeDir(entity.getInputPath());
|
|
|
+ makeDir(entity.getOutputPath());
|
|
|
+
|
|
|
return entity;
|
|
|
}
|
|
|
|