diff --git a/src/main/java/cn/stylefeng/guns/core/beetl/tag/SysDictBaseTag.java b/src/main/java/cn/stylefeng/guns/core/beetl/tag/SysDictBaseTag.java index 448869eb..81cd781b 100644 --- a/src/main/java/cn/stylefeng/guns/core/beetl/tag/SysDictBaseTag.java +++ b/src/main/java/cn/stylefeng/guns/core/beetl/tag/SysDictBaseTag.java @@ -10,6 +10,7 @@ import cn.stylefeng.roses.kernel.dict.modular.service.DictTypeService; import cn.stylefeng.roses.kernel.rule.enums.YesOrNotEnum; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import lombok.Data; +import lombok.EqualsAndHashCode; import org.beetl.core.tag.GeneralVarTagBinding; import java.util.List; @@ -21,6 +22,7 @@ import java.util.Map; * @author liuhanqing * @date 2021/1/16 18:45 */ +@EqualsAndHashCode(callSuper = true) @Data public class SysDictBaseTag extends GeneralVarTagBinding { diff --git a/src/main/java/cn/stylefeng/guns/core/consts/ProjectConstants.java b/src/main/java/cn/stylefeng/guns/core/consts/ProjectConstants.java index ea537a64..67401fbb 100644 --- a/src/main/java/cn/stylefeng/guns/core/consts/ProjectConstants.java +++ b/src/main/java/cn/stylefeng/guns/core/consts/ProjectConstants.java @@ -25,39 +25,4 @@ public interface ProjectConstants { */ String ROOT_PACKAGE_NAME = GunsApplication.class.getPackage().getName(); - /** - * 超级管理员的角色编码 - */ - String SUPER_ADMIN_ROLE_CODE = "superAdmin"; - - /** - * 初始化超级管理员的监听器顺序 - */ - Integer SUPER_ADMIN_INIT_LISTENER_SORT = 400; - - /** - * prometheus查询命令 - */ - String PROMETHEUS_QUERY = "query"; - - /** - * prometheus查询区间向量命令 - */ - String PROMETHEUS_QUERY_RANGE = "query_range"; - - /** - * prometheus查询开始时间 - */ - String PROMETHEUS_START = "start"; - - /** - * prometheus查询结束时间 - */ - String PROMETHEUS_END = "end"; - - /** - * prometheus查询步长 - */ - String PROMETHEUS_STEP = "step"; - }