|
|
@@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.io.File;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.concurrent.atomic.AtomicInteger;
|
|
|
@@ -152,12 +153,15 @@ public class TaskService {
|
|
|
continue;
|
|
|
}
|
|
|
fYunFileServiceInterface.uploadFolder(tbScenePro.getDataSource(),"build_result/"+tbScenePro.getNum());
|
|
|
+
|
|
|
FileUtil.del(tbScenePro.getDataSource());
|
|
|
FileUtil.del(tbScenePro.getDataSource()+"_images");
|
|
|
FileUtil.del(tbScenePro.getDataSource()+"_obj2txt");
|
|
|
+
|
|
|
tbSceneProService.updateDelBuildResult(tbScenePro.getId(),2);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|