src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
@@ -130,6 +130,13 @@ List<ExportSecurityPaperExcel> list = new ArrayList<>(); //遍历 accreditationRecordsVos.forEach(accreditationRecordsVo -> { //导出即修改为已制证状态 AccreditationRecords accreditationRecords1 = new AccreditationRecords(); accreditationRecords1.setId(accreditationRecordsVo.getId()); accreditationRecords1.setStatus(2); //修改 this.updateById(accreditationRecords1); ExportSecurityPaperExcel excel = new ExportSecurityPaperExcel(); //数据转换封装 excel.setRealName(accreditationRecordsVo.getRealName());