|
@@ -57,7 +57,7 @@ public class ResourceService {
|
57
|
57
|
category = categoryRepository.save(category);
|
58
|
58
|
String filePath = category.getCompressFilePath();
|
59
|
59
|
if (uploadCompress) {
|
60
|
|
- infoRepository.deleteWithCategory(category.getCategoryId());
|
|
60
|
+// infoRepository.deleteWithCategory(category.getCategoryId());
|
61
|
61
|
// Unzipper.unzip("." + filePath, "./upload/resource/" + category.getCategoryId() + "/", false);
|
62
|
62
|
Unzipper.unZipFiles(new File("." + filePath), "./upload/resource/" + category.getCategoryId() + "/");
|
63
|
63
|
|