yeg
2026-09-06 37600a85b79387ab6afa7bf342eedbf938331e1d
battery-business/src/main/java/com/battery/business/report/CompareReportRequest.java
@@ -21,5 +21,11 @@
    public record Settings(@NotNull List<String> metrics, @NotNull List<String> seriesColors,
            @NotNull List<String> batteryTemplateFields, @NotNull List<String> specialFields,
            @NotNull Map<String, Map<String, String>> detailFieldValues) { }
            @NotNull Map<String, @NotNull Map<String, String>> detailFieldValues)
    {
        /** 展示设置不能夹带测量快照或其他未支持的修改。 */
        @com.fasterxml.jackson.annotation.JsonAnySetter
        public void rejectUnknown(String field, Object value)
        { throw new com.ruoyi.common.exception.ServiceException("报表设置不允许提交字段:" + field); }
    }
}