Jelajahi Sumber

修改独立组卷

huangtf 1 Minggu lalu
induk
melakukan
66ba8822de

+ 3 - 0
blade-service/blade-archive/src/main/java/org/springblade/archive/service/impl/ArchivesAutoServiceImpl.java

@@ -1258,6 +1258,9 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
 		String startDate = split.length >= 1 ? split[0] : "";
 		String endDate = split.length >= 2 ? split[1] : "";
 		int fileN = waitArchiveFiles.size();
+		if (fileN == 0) {
+			return;
+		}
 
 		String archiveName = builtArchiveName(waitArchiveFiles, node, false);//获取案卷题名
 		//1.创建新案卷