| | |
| | | |
| | | 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); } |
| | | } |
| | | } |