| | |
| | | * 样品接收总表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-12-12 05:02:58 |
| | | */ |
| | | @Service |
| | |
| | | tableRenderData.setTableStyle(tableStyle); |
| | | Map<String, Object> table = new HashMap<>(); |
| | | table.put("sample", tableRenderData); |
| | | table.put("index1", index1); |
| | | sampleList.add(table); |
| | | index1++; |
| | | } |
| | | } |
| | | Integer finalIndex = index1; |
| | | XWPFTemplate template = XWPFTemplate.compile(url, builder.build()).render( |
| | | new HashMap<String, Object>() {{ |
| | | put("sampleList", sampleList); |
| | | put("size", finalIndex); |
| | | put("examineUrl", null); |
| | | put("ratifyUrl", null); |
| | | put("writeUrl", new FilePictureRenderData(100,50,imgUrl + "/" + signatureUrl)); |