|
|
@@ -367,16 +367,15 @@ public class CaseDownService {
|
|
|
}
|
|
|
public void downZip(Integer type ,String uri,String kkzipPath,String kknumPath,String sszipPath,String ssNumPath){
|
|
|
try {
|
|
|
- if(type != 2 && type != 5){ //深时点云
|
|
|
- if(uri.contains("?")){
|
|
|
- uri = uri.split("[?]")[0];
|
|
|
- }
|
|
|
+ if(uri.contains("?")){
|
|
|
+ uri = uri.split("[?]")[0];
|
|
|
+ }
|
|
|
+ if(!NumTypeUtils.isLaser(type)){
|
|
|
ShellUtil.yunDownload(uri.replace(CacheUtil.queryPath, ""), kkzipPath);
|
|
|
ShellUtil.unZip(kkzipPath,kknumPath);
|
|
|
MyFileUtil.delFile(kkzipPath);
|
|
|
-
|
|
|
}else {
|
|
|
- ShellUtil.yunDownloadSs(uri.replace(CacheUtil.queryPath, ""), sszipPath);
|
|
|
+ ShellUtil.yunDownloadSs(uri.replace(CacheUtil.ssQueryPath, ""), sszipPath);
|
|
|
ShellUtil.unZip(sszipPath,ssNumPath);
|
|
|
MyFileUtil.delFile(sszipPath);
|
|
|
|