|
@@ -119,13 +119,13 @@ public class TSupervisePcsjServiceImpl implements ITSupervisePcsjService {
|
|
String d2_filepath = d0_filepath.substring(0, d1_filepath) + "/REMOVE/" + uuid + d0_filepath.substring(d1_filepath);
|
|
String d2_filepath = d0_filepath.substring(0, d1_filepath) + "/REMOVE/" + uuid + d0_filepath.substring(d1_filepath);
|
|
|
|
|
|
try {
|
|
try {
|
|
- if (new File(d0_unzippath.substring(0, d1_unzip_len) + "/REMOVE/" + uuid).exists()) {
|
|
|
|
|
|
+ if (!(new File(d0_unzippath.substring(0, d1_unzip_len) + "/REMOVE/" + uuid).exists())) {
|
|
Files.createDirectories(Paths.get(d0_unzippath.substring(0, d1_unzip_len) + "/REMOVE/" + uuid));
|
|
Files.createDirectories(Paths.get(d0_unzippath.substring(0, d1_unzip_len) + "/REMOVE/" + uuid));
|
|
}
|
|
}
|
|
if (new File(d0_unzippath).exists()) {
|
|
if (new File(d0_unzippath).exists()) {
|
|
Files.move(Paths.get(d0_unzippath), Paths.get(d2_unzippath));
|
|
Files.move(Paths.get(d0_unzippath), Paths.get(d2_unzippath));
|
|
}
|
|
}
|
|
- if (new File(d0_filepath.substring(0, d1_filepath) + "/REMOVE/" + uuid).exists()) {
|
|
|
|
|
|
+ if (!(new File(d0_filepath.substring(0, d1_filepath) + "/REMOVE/" + uuid).exists())) {
|
|
Files.createDirectories(Paths.get(d0_filepath.substring(0, d1_filepath) + "/REMOVE/" + uuid));
|
|
Files.createDirectories(Paths.get(d0_filepath.substring(0, d1_filepath) + "/REMOVE/" + uuid));
|
|
}
|
|
}
|
|
if (new File(d0_filepath).exists()) {
|
|
if (new File(d0_filepath).exists()) {
|