2 次代碼提交 04036cb5f4 ... ae1d43dc77

作者 SHA1 備註 提交日期
  huangtf ae1d43dc77 Merge branch 'master' of http://39.108.216.210:3000/zhuwei/bladex 1 周之前
  huangtf 66ba8822de 修改独立组卷 1 周之前

+ 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.创建新案卷