dengsixing пре 1 месец
родитељ
комит
95fffc4b09

+ 3 - 0
src/main/java/com/fdkankan/scene/service/impl/NjsSceneBoxModelServiceImpl.java

@@ -250,11 +250,14 @@ public class NjsSceneBoxModelServiceImpl extends ServiceImpl<INjsSceneBoxModelMa
 
         //删除无效文件
         Set<String> prefixList = list.stream().map(v -> njsBoxModelDir + "/" + v.getData().getString("sid")).collect(Collectors.toSet());
+        log.info("-----------prefixList:{}", JSON.toJSONString(prefixList));
         List<String> keyList = fYunFileService.listRemoteFiles(njsBoxModelDir);
+        log.info("-----------keyList:{}", JSON.toJSONString(keyList));
         if(!keyList.isEmpty()){
             keyList.removeIf(file ->
                     prefixList.stream().anyMatch(file::startsWith)
             );
+            log.info("-----------keyList.removeIf:{}", JSON.toJSONString(keyList));
             if(!keyList.isEmpty()){
                 keyList.stream().forEach(key -> {
                     try {