报告模板配置

This commit is contained in:
hanyong
2022-10-10 08:54:42 +08:00
parent 070e0cab6e
commit e82d2ff126
25 changed files with 452 additions and 198 deletions

View File

@@ -6,24 +6,18 @@ import lombok.Getter;
* @author hany
* @date 2022/09/21
*/
@Getter
public enum TemplateTreeEnum {
public interface TemplateTreeEnum {
/**
* 各层级描述
* 权限资源状态 0-删除1-正常;默认正常
*/
REPORT_LEVEL(0, "报告基础项"),
LINE_LEVEL(1, "监测点"),
DETAIL_LEVEL(2, "监测点详情"),
TRANS_LEVEL(2, "暂降事件列表表格"),
TRANS_D_LEVEL(2, "暂降密度图形"),
TRANS_R_LEVEL(2, "暂降原因表格");
int DELETE = 0;
private final Integer code;
private final String message;
int ENABLE = 1;
TemplateTreeEnum(Integer code, String message) {
this.code = code;
this.message = message;
}
/**
* 顶层父类的pid
*/
String FATHER_PID = "0";
}