|
@@ -963,6 +963,16 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
return this.list(queryWrapper);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 刷新项目档号
|
|
|
+ * @param projectId
|
|
|
+ */
|
|
|
+ public void refreshFileNumberNoSlipt(Long projectId) {
|
|
|
+ List<ArchiveTreeContract> list = archiveTreeContractClient.getListByProjectId(projectId);
|
|
|
+ this.refreshFileNumberNoSlipt(list);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 不重组的情况下刷新档号
|
|
|
* @param archiveTreeContracts
|
|
@@ -985,7 +995,7 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
index =1;
|
|
|
List<ArchivesAuto> archivesAutos = findArchivesAutosByIds(ids);
|
|
|
if (archivesAutos == null || archivesAutos.size() == 0) {
|
|
|
- return;
|
|
|
+ continue;
|
|
|
}
|
|
|
String fileNumberPrefix=subList.get(0).getFileNumberPrefix();
|
|
|
String archiveNameSuffix=subList.get(0).getArchiveNameSuffix();
|
|
@@ -1126,4 +1136,5 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
}
|