소스 검색

上传文件校验2

chenendian 6 달 전
부모
커밋
7b2cd49932
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/impl/NodeAttachmentImpl.java

+ 1 - 6
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/impl/NodeAttachmentImpl.java

@@ -315,12 +315,6 @@ public class NodeAttachmentImpl implements NodeAttachmentService {
     }
 
 
-
-
-
-
-
-
     /**
      * 保存附件信息
      */
@@ -574,6 +568,7 @@ public class NodeAttachmentImpl implements NodeAttachmentService {
             for(String currentAttachment : currentAttachmentList){
                 if(!CollectionUtils.containsAny(directoryPathList,currentAttachment)){
                     retFlag = false;
+                    break;
                 }
             }
         } catch (IOException e) {