|
@@ -9,6 +9,7 @@ import com.fd.dto.PageDto;
|
|
import com.fd.entity.FileEntity;
|
|
import com.fd.entity.FileEntity;
|
|
import com.fd.entity.OutputFileEntity;
|
|
import com.fd.entity.OutputFileEntity;
|
|
import com.fd.repository.FileRepository;
|
|
import com.fd.repository.FileRepository;
|
|
|
|
+import com.fd.repository.IBaseRepository;
|
|
import com.fd.repository.OutputFileRepository;
|
|
import com.fd.repository.OutputFileRepository;
|
|
import com.fd.server.ModelServer;
|
|
import com.fd.server.ModelServer;
|
|
import com.fd.util.FileUtils;
|
|
import com.fd.util.FileUtils;
|
|
@@ -33,7 +34,7 @@ import java.util.Optional;
|
|
*/
|
|
*/
|
|
@Log4j2
|
|
@Log4j2
|
|
@Service
|
|
@Service
|
|
-public class ModelServerImpl implements ModelServer {
|
|
|
|
|
|
+public class ModelServerImpl implements ModelServer {
|
|
|
|
|
|
@Value("${input.file.path.model}")
|
|
@Value("${input.file.path.model}")
|
|
private String INPUT_FILE_PATH;
|
|
private String INPUT_FILE_PATH;
|
|
@@ -72,7 +73,7 @@ public class ModelServerImpl implements ModelServer {
|
|
}
|
|
}
|
|
|
|
|
|
if (fileEntity.getCoordGeneralPath() != null) {
|
|
if (fileEntity.getCoordGeneralPath() != null) {
|
|
- FileUtils.delFolder(fileEntity.getCoordStrictPath());
|
|
|
|
|
|
+ FileUtils.delFolder(fileEntity.getCoordGeneralPath());
|
|
}
|
|
}
|
|
|
|
|
|
if (fileEntity.getUnZipPath() != null) {
|
|
if (fileEntity.getUnZipPath() != null) {
|
|
@@ -258,4 +259,5 @@ public class ModelServerImpl implements ModelServer {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
}
|
|
}
|