|
@@ -48,7 +48,11 @@ public class HaixinServiceImpl implements IHaixinService {
|
|
|
ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
ScenePlus scenePlus = scenePlusService.getScenePlusByNum(num);
|
|
|
|
|
|
|
|
String userViewPath = String.format(UploadFilePath.USER_VIEW_PATH, num);
|
|
String userViewPath = String.format(UploadFilePath.USER_VIEW_PATH, num);
|
|
|
- List<String> cadImgKeys = fileServiceInterface.listRemoteFiles(userViewPath + "cad-style-3-");
|
|
|
|
|
|
|
+ List<String> userKeyS = fileServiceInterface.listRemoteFiles(userViewPath);
|
|
|
|
|
+ if(CollUtil.isEmpty(userKeyS)){
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ List<String> cadImgKeys = userKeyS.stream().filter(v->v.contains("cad-style-3-")).collect(Collectors.toList());
|
|
|
if(CollUtil.isEmpty(cadImgKeys)){
|
|
if(CollUtil.isEmpty(cadImgKeys)){
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|