1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| package cn.iocoder.yudao.module.qcreport.engine.render;
|
| import cn.iocoder.yudao.module.qcreport.engine.context.ReportContext;
|
| import java.util.List;
|
| /**
| * 渲染结果。
| *
| * @param html 完整 HTML 文档,打印/PDF 直接使用
| * @param body 正文片段,便于嵌入页面预览
| * @param context 判定后的上下文(含 PASS/FAIL 判定与合格率)
| * @param errors 规则与绑定的问题清单,调用方必须显式暴露,不能悄悄吞掉
| */
| public record RenderOutcome(String html, String body, ReportContext context, List<String> errors) {
| }
|
|