|
@@ -100,10 +100,10 @@ public class SceneDataDownloadServiceImpl extends ServiceImpl<SceneDataDownloadM
|
|
|
if (name.contains("ply")&&e57Flag){
|
|
|
continue;
|
|
|
}
|
|
|
- if (FileUtil.extName(file).equalsIgnoreCase("png")&& has_png==false){
|
|
|
+ if (FileUtil.extName(file).equalsIgnoreCase("png")&& !has_png){
|
|
|
has_png=true;
|
|
|
}
|
|
|
- if (FileUtil.extName(file).equalsIgnoreCase("ply")&& has_cloud==false){
|
|
|
+ if (FileUtil.extName(file).equalsIgnoreCase("ply")&& !has_cloud){
|
|
|
has_cloud=true;
|
|
|
}
|
|
|
String copyUrl="sceneRawData/"+sceneCode+"/"+ FileUtil.getName(file);
|