| | |
| | | tableRenderData.setTableStyle(tableStyle); |
| | | Map<String, Object> table = new HashMap<>(); |
| | | table.put("recycle", tableRenderData); |
| | | table.put("index1", index1); |
| | | recycleList.add(table); |
| | | index1++; |
| | | } |
| | | } |
| | | Integer finalIndex = index1; |
| | | XWPFTemplate template = XWPFTemplate.compile(url, builder.build()).render( |
| | | new HashMap<String, Object>() {{ |
| | | put("size", finalIndex); |
| | | put("recycleList", recycleList); |
| | | }}); |
| | | String name = UUID.randomUUID() + "_所有文件的发放与回收记录" + ".docx"; |
| | |
| | | } catch (Exception e) { |
| | | manageRecordIssueRecycle.setSignedDate(null); |
| | | } |
| | | |
| | | ManageRecordIssueRecycle issueRecycle = manageRecordIssueRecycleMapper.selectOne(Wrappers.<ManageRecordIssueRecycle>lambdaQuery() |
| | | .eq(ManageRecordIssueRecycle::getDocumentCode, manageRecordIssueRecycle.getDocumentCode()) |
| | | .eq(ManageRecordIssueRecycle::getDocumentName, manageRecordIssueRecycle.getDocumentName()) |