diff --git a/backend/pom.xml b/backend/pom.xml
index 75d4e1b0fe..dd8cbc692d 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -13,10 +13,8 @@
UTF-8
- 1.6.0
+ 1.7.1
1.8
- 1.1.3
- 2.7.8
20.1.0
@@ -80,6 +78,10 @@
org.springframework.boot
spring-boot-starter-websocket
+
+ com.google.code.gson
+ gson
+
@@ -91,6 +93,11 @@
mysql-connector-java
runtime
+
+ com.microsoft.sqlserver
+ mssql-jdbc
+ runtime
+
com.github.pagehelper
pagehelper
@@ -110,7 +117,7 @@
org.apache.commons
commons-collections4
- 4.1
+ 4.4
org.apache.commons
@@ -122,11 +129,11 @@
commons-codec
-
+
@@ -135,11 +142,7 @@
1.2.32
-
- org.python
- jython-standalone
- 2.7.0
-
+
com.microsoft.sqlserver
@@ -159,17 +162,7 @@
19.7.0.0
-
-
- org.apache.dubbo
- dubbo
- ${dubbo.version}
-
-
- org.apache.zookeeper
- zookeeper
- 3.4.14
-
+
org.apache.curator
curator-framework
@@ -181,22 +174,7 @@
4.0.1
-
-
- org.apache.dubbo
- dubbo-registry-nacos
- ${dubbo.version}
-
-
- com.alibaba.nacos
- nacos-api
- ${nacos.version}
-
-
- com.alibaba.nacos
- nacos-client
- ${nacos.version}
-
+
com.alibaba
@@ -296,12 +274,7 @@
json
20171018
-
-
- com.aliyun
- alibaba-dingtalk-service-sdk
- 1.0.1
-
+
org.apache.httpcomponents
httpclient
@@ -314,7 +287,7 @@
0.11.7
-
+
@@ -409,33 +382,6 @@
2.6
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- main-class-placement
- generate-resources
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- run
-
-
-
-
org.mybatis.generator
mybatis-generator-maven-plugin
diff --git a/backend/src/main/java/io/dataease/base/domain/ChartGroup.java b/backend/src/main/java/io/dataease/base/domain/ChartGroup.java
new file mode 100644
index 0000000000..4d2128a4b6
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/ChartGroup.java
@@ -0,0 +1,23 @@
+package io.dataease.base.domain;
+
+import java.io.Serializable;
+import lombok.Data;
+
+@Data
+public class ChartGroup implements Serializable {
+ private String id;
+
+ private String name;
+
+ private String pid;
+
+ private Integer level;
+
+ private String type;
+
+ private String createBy;
+
+ private Long createTime;
+
+ private static final long serialVersionUID = 1L;
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/ChartGroupExample.java b/backend/src/main/java/io/dataease/base/domain/ChartGroupExample.java
new file mode 100644
index 0000000000..c3bf4973e6
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/ChartGroupExample.java
@@ -0,0 +1,670 @@
+package io.dataease.base.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class ChartGroupExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public ChartGroupExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(String value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(String value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(String value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(String value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(String value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(String value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLike(String value) {
+ addCriterion("id like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotLike(String value) {
+ addCriterion("id not like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(String value1, String value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(String value1, String value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("`name` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("`name` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("`name` =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("`name` <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("`name` >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("`name` >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("`name` <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("`name` <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("`name` like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("`name` not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("`name` in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("`name` not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("`name` between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("`name` not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidIsNull() {
+ addCriterion("pid is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidIsNotNull() {
+ addCriterion("pid is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidEqualTo(String value) {
+ addCriterion("pid =", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidNotEqualTo(String value) {
+ addCriterion("pid <>", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidGreaterThan(String value) {
+ addCriterion("pid >", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidGreaterThanOrEqualTo(String value) {
+ addCriterion("pid >=", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidLessThan(String value) {
+ addCriterion("pid <", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidLessThanOrEqualTo(String value) {
+ addCriterion("pid <=", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidLike(String value) {
+ addCriterion("pid like", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidNotLike(String value) {
+ addCriterion("pid not like", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidIn(List values) {
+ addCriterion("pid in", values, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidNotIn(List values) {
+ addCriterion("pid not in", values, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidBetween(String value1, String value2) {
+ addCriterion("pid between", value1, value2, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidNotBetween(String value1, String value2) {
+ addCriterion("pid not between", value1, value2, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelIsNull() {
+ addCriterion("`level` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelIsNotNull() {
+ addCriterion("`level` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelEqualTo(Integer value) {
+ addCriterion("`level` =", value, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelNotEqualTo(Integer value) {
+ addCriterion("`level` <>", value, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelGreaterThan(Integer value) {
+ addCriterion("`level` >", value, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
+ addCriterion("`level` >=", value, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelLessThan(Integer value) {
+ addCriterion("`level` <", value, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelLessThanOrEqualTo(Integer value) {
+ addCriterion("`level` <=", value, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelIn(List values) {
+ addCriterion("`level` in", values, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelNotIn(List values) {
+ addCriterion("`level` not in", values, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelBetween(Integer value1, Integer value2) {
+ addCriterion("`level` between", value1, value2, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andLevelNotBetween(Integer value1, Integer value2) {
+ addCriterion("`level` not between", value1, value2, "level");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("`type` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("`type` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(String value) {
+ addCriterion("`type` =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(String value) {
+ addCriterion("`type` <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(String value) {
+ addCriterion("`type` >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(String value) {
+ addCriterion("`type` >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(String value) {
+ addCriterion("`type` <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(String value) {
+ addCriterion("`type` <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLike(String value) {
+ addCriterion("`type` like", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotLike(String value) {
+ addCriterion("`type` not like", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("`type` in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("`type` not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(String value1, String value2) {
+ addCriterion("`type` between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(String value1, String value2) {
+ addCriterion("`type` not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNull() {
+ addCriterion("create_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNotNull() {
+ addCriterion("create_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByEqualTo(String value) {
+ addCriterion("create_by =", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotEqualTo(String value) {
+ addCriterion("create_by <>", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThan(String value) {
+ addCriterion("create_by >", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThanOrEqualTo(String value) {
+ addCriterion("create_by >=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThan(String value) {
+ addCriterion("create_by <", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThanOrEqualTo(String value) {
+ addCriterion("create_by <=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLike(String value) {
+ addCriterion("create_by like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotLike(String value) {
+ addCriterion("create_by not like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIn(List values) {
+ addCriterion("create_by in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotIn(List values) {
+ addCriterion("create_by not in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByBetween(String value1, String value2) {
+ addCriterion("create_by between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotBetween(String value1, String value2) {
+ addCriterion("create_by not between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Long value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Long value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Long value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Long value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Long value1, Long value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/DatasetTable.java b/backend/src/main/java/io/dataease/base/domain/DatasetTable.java
new file mode 100644
index 0000000000..a9d66c4f6d
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/DatasetTable.java
@@ -0,0 +1,25 @@
+package io.dataease.base.domain;
+
+import java.io.Serializable;
+import lombok.Data;
+
+@Data
+public class DatasetTable implements Serializable {
+ private String id;
+
+ private String name;
+
+ private String sceneId;
+
+ private String dataSourceId;
+
+ private String type;
+
+ private String createBy;
+
+ private Long createTime;
+
+ private String info;
+
+ private static final long serialVersionUID = 1L;
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/DatasetTableExample.java b/backend/src/main/java/io/dataease/base/domain/DatasetTableExample.java
new file mode 100644
index 0000000000..2aa5150e3b
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/DatasetTableExample.java
@@ -0,0 +1,680 @@
+package io.dataease.base.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class DatasetTableExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public DatasetTableExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(String value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(String value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(String value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(String value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(String value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(String value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLike(String value) {
+ addCriterion("id like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotLike(String value) {
+ addCriterion("id not like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(String value1, String value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(String value1, String value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("`name` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("`name` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("`name` =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("`name` <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("`name` >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("`name` >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("`name` <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("`name` <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("`name` like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("`name` not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("`name` in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("`name` not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("`name` between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("`name` not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdIsNull() {
+ addCriterion("scene_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdIsNotNull() {
+ addCriterion("scene_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdEqualTo(String value) {
+ addCriterion("scene_id =", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdNotEqualTo(String value) {
+ addCriterion("scene_id <>", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdGreaterThan(String value) {
+ addCriterion("scene_id >", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdGreaterThanOrEqualTo(String value) {
+ addCriterion("scene_id >=", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdLessThan(String value) {
+ addCriterion("scene_id <", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdLessThanOrEqualTo(String value) {
+ addCriterion("scene_id <=", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdLike(String value) {
+ addCriterion("scene_id like", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdNotLike(String value) {
+ addCriterion("scene_id not like", value, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdIn(List values) {
+ addCriterion("scene_id in", values, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdNotIn(List values) {
+ addCriterion("scene_id not in", values, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdBetween(String value1, String value2) {
+ addCriterion("scene_id between", value1, value2, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneIdNotBetween(String value1, String value2) {
+ addCriterion("scene_id not between", value1, value2, "sceneId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdIsNull() {
+ addCriterion("data_source_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdIsNotNull() {
+ addCriterion("data_source_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdEqualTo(String value) {
+ addCriterion("data_source_id =", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdNotEqualTo(String value) {
+ addCriterion("data_source_id <>", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdGreaterThan(String value) {
+ addCriterion("data_source_id >", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdGreaterThanOrEqualTo(String value) {
+ addCriterion("data_source_id >=", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdLessThan(String value) {
+ addCriterion("data_source_id <", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdLessThanOrEqualTo(String value) {
+ addCriterion("data_source_id <=", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdLike(String value) {
+ addCriterion("data_source_id like", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdNotLike(String value) {
+ addCriterion("data_source_id not like", value, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdIn(List values) {
+ addCriterion("data_source_id in", values, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdNotIn(List values) {
+ addCriterion("data_source_id not in", values, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdBetween(String value1, String value2) {
+ addCriterion("data_source_id between", value1, value2, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDataSourceIdNotBetween(String value1, String value2) {
+ addCriterion("data_source_id not between", value1, value2, "dataSourceId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("`type` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("`type` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(String value) {
+ addCriterion("`type` =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(String value) {
+ addCriterion("`type` <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(String value) {
+ addCriterion("`type` >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(String value) {
+ addCriterion("`type` >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(String value) {
+ addCriterion("`type` <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(String value) {
+ addCriterion("`type` <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLike(String value) {
+ addCriterion("`type` like", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotLike(String value) {
+ addCriterion("`type` not like", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("`type` in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("`type` not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(String value1, String value2) {
+ addCriterion("`type` between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(String value1, String value2) {
+ addCriterion("`type` not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNull() {
+ addCriterion("create_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNotNull() {
+ addCriterion("create_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByEqualTo(String value) {
+ addCriterion("create_by =", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotEqualTo(String value) {
+ addCriterion("create_by <>", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThan(String value) {
+ addCriterion("create_by >", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThanOrEqualTo(String value) {
+ addCriterion("create_by >=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThan(String value) {
+ addCriterion("create_by <", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThanOrEqualTo(String value) {
+ addCriterion("create_by <=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLike(String value) {
+ addCriterion("create_by like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotLike(String value) {
+ addCriterion("create_by not like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIn(List values) {
+ addCriterion("create_by in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotIn(List values) {
+ addCriterion("create_by not in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByBetween(String value1, String value2) {
+ addCriterion("create_by between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotBetween(String value1, String value2) {
+ addCriterion("create_by not between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Long value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Long value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Long value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Long value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Long value1, Long value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/DatasetTableField.java b/backend/src/main/java/io/dataease/base/domain/DatasetTableField.java
new file mode 100644
index 0000000000..99f3a2741b
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/DatasetTableField.java
@@ -0,0 +1,25 @@
+package io.dataease.base.domain;
+
+import java.io.Serializable;
+import lombok.Data;
+
+@Data
+public class DatasetTableField implements Serializable {
+ private String id;
+
+ private String tableId;
+
+ private String originName;
+
+ private String name;
+
+ private String type;
+
+ private Boolean checked;
+
+ private Integer columnIndex;
+
+ private Long lastSyncTime;
+
+ private static final long serialVersionUID = 1L;
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/DatasetTableFieldExample.java b/backend/src/main/java/io/dataease/base/domain/DatasetTableFieldExample.java
new file mode 100644
index 0000000000..43156b884e
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/DatasetTableFieldExample.java
@@ -0,0 +1,730 @@
+package io.dataease.base.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class DatasetTableFieldExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public DatasetTableFieldExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(String value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(String value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(String value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(String value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(String value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(String value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLike(String value) {
+ addCriterion("id like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotLike(String value) {
+ addCriterion("id not like", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(String value1, String value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(String value1, String value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdIsNull() {
+ addCriterion("table_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdIsNotNull() {
+ addCriterion("table_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdEqualTo(String value) {
+ addCriterion("table_id =", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdNotEqualTo(String value) {
+ addCriterion("table_id <>", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdGreaterThan(String value) {
+ addCriterion("table_id >", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdGreaterThanOrEqualTo(String value) {
+ addCriterion("table_id >=", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdLessThan(String value) {
+ addCriterion("table_id <", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdLessThanOrEqualTo(String value) {
+ addCriterion("table_id <=", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdLike(String value) {
+ addCriterion("table_id like", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdNotLike(String value) {
+ addCriterion("table_id not like", value, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdIn(List values) {
+ addCriterion("table_id in", values, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdNotIn(List values) {
+ addCriterion("table_id not in", values, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdBetween(String value1, String value2) {
+ addCriterion("table_id between", value1, value2, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTableIdNotBetween(String value1, String value2) {
+ addCriterion("table_id not between", value1, value2, "tableId");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameIsNull() {
+ addCriterion("origin_name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameIsNotNull() {
+ addCriterion("origin_name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameEqualTo(String value) {
+ addCriterion("origin_name =", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameNotEqualTo(String value) {
+ addCriterion("origin_name <>", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameGreaterThan(String value) {
+ addCriterion("origin_name >", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameGreaterThanOrEqualTo(String value) {
+ addCriterion("origin_name >=", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameLessThan(String value) {
+ addCriterion("origin_name <", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameLessThanOrEqualTo(String value) {
+ addCriterion("origin_name <=", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameLike(String value) {
+ addCriterion("origin_name like", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameNotLike(String value) {
+ addCriterion("origin_name not like", value, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameIn(List values) {
+ addCriterion("origin_name in", values, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameNotIn(List values) {
+ addCriterion("origin_name not in", values, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameBetween(String value1, String value2) {
+ addCriterion("origin_name between", value1, value2, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andOriginNameNotBetween(String value1, String value2) {
+ addCriterion("origin_name not between", value1, value2, "originName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("`name` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("`name` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("`name` =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("`name` <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("`name` >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("`name` >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("`name` <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("`name` <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("`name` like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("`name` not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("`name` in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("`name` not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("`name` between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("`name` not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("`type` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("`type` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(String value) {
+ addCriterion("`type` =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(String value) {
+ addCriterion("`type` <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(String value) {
+ addCriterion("`type` >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(String value) {
+ addCriterion("`type` >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(String value) {
+ addCriterion("`type` <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(String value) {
+ addCriterion("`type` <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLike(String value) {
+ addCriterion("`type` like", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotLike(String value) {
+ addCriterion("`type` not like", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("`type` in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("`type` not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(String value1, String value2) {
+ addCriterion("`type` between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(String value1, String value2) {
+ addCriterion("`type` not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedIsNull() {
+ addCriterion("`checked` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedIsNotNull() {
+ addCriterion("`checked` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedEqualTo(Boolean value) {
+ addCriterion("`checked` =", value, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedNotEqualTo(Boolean value) {
+ addCriterion("`checked` <>", value, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedGreaterThan(Boolean value) {
+ addCriterion("`checked` >", value, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedGreaterThanOrEqualTo(Boolean value) {
+ addCriterion("`checked` >=", value, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedLessThan(Boolean value) {
+ addCriterion("`checked` <", value, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedLessThanOrEqualTo(Boolean value) {
+ addCriterion("`checked` <=", value, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedIn(List values) {
+ addCriterion("`checked` in", values, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedNotIn(List values) {
+ addCriterion("`checked` not in", values, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedBetween(Boolean value1, Boolean value2) {
+ addCriterion("`checked` between", value1, value2, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andCheckedNotBetween(Boolean value1, Boolean value2) {
+ addCriterion("`checked` not between", value1, value2, "checked");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexIsNull() {
+ addCriterion("column_index is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexIsNotNull() {
+ addCriterion("column_index is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexEqualTo(Integer value) {
+ addCriterion("column_index =", value, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexNotEqualTo(Integer value) {
+ addCriterion("column_index <>", value, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexGreaterThan(Integer value) {
+ addCriterion("column_index >", value, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexGreaterThanOrEqualTo(Integer value) {
+ addCriterion("column_index >=", value, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexLessThan(Integer value) {
+ addCriterion("column_index <", value, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexLessThanOrEqualTo(Integer value) {
+ addCriterion("column_index <=", value, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexIn(List values) {
+ addCriterion("column_index in", values, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexNotIn(List values) {
+ addCriterion("column_index not in", values, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexBetween(Integer value1, Integer value2) {
+ addCriterion("column_index between", value1, value2, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andColumnIndexNotBetween(Integer value1, Integer value2) {
+ addCriterion("column_index not between", value1, value2, "columnIndex");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeIsNull() {
+ addCriterion("last_sync_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeIsNotNull() {
+ addCriterion("last_sync_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeEqualTo(Long value) {
+ addCriterion("last_sync_time =", value, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeNotEqualTo(Long value) {
+ addCriterion("last_sync_time <>", value, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeGreaterThan(Long value) {
+ addCriterion("last_sync_time >", value, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("last_sync_time >=", value, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeLessThan(Long value) {
+ addCriterion("last_sync_time <", value, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeLessThanOrEqualTo(Long value) {
+ addCriterion("last_sync_time <=", value, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeIn(List values) {
+ addCriterion("last_sync_time in", values, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeNotIn(List values) {
+ addCriterion("last_sync_time not in", values, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeBetween(Long value1, Long value2) {
+ addCriterion("last_sync_time between", value1, value2, "lastSyncTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andLastSyncTimeNotBetween(Long value1, Long value2) {
+ addCriterion("last_sync_time not between", value1, value2, "lastSyncTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysMenu.java b/backend/src/main/java/io/dataease/base/domain/SysMenu.java
new file mode 100644
index 0000000000..a9df1d56ce
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysMenu.java
@@ -0,0 +1,73 @@
+package io.dataease.base.domain;
+
+import java.io.Serializable;
+import java.util.Objects;
+
+import lombok.Data;
+
+@Data
+public class SysMenu implements Serializable {
+ private Long menuId;
+
+ private Long pid;
+
+ private Integer subCount;
+
+ private Integer type;
+
+ private String title;
+
+ private String name;
+
+ private String component;
+
+ private Integer menuSort;
+
+ private String icon;
+
+ private String path;
+
+ private Boolean iFrame;
+
+ private Boolean cache;
+
+ private Boolean hidden;
+
+ private String permission;
+
+ private String createBy;
+
+ private String updateBy;
+
+ private Long createTime;
+
+ private Long updateTime;
+
+ private static final long serialVersionUID = 1L;
+
+
+ /**
+ * 由于该类型作为HashSet key所以必须重写以下方法
+ * @param o
+ * @return
+ */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SysMenu menu = (SysMenu) o;
+ return Objects.equals(menuId, menu.menuId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(menuId);
+ }
+
+
+
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysMenuExample.java b/backend/src/main/java/io/dataease/base/domain/SysMenuExample.java
new file mode 100644
index 0000000000..568db3af27
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysMenuExample.java
@@ -0,0 +1,1360 @@
+package io.dataease.base.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class SysMenuExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public SysMenuExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andMenuIdIsNull() {
+ addCriterion("menu_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdIsNotNull() {
+ addCriterion("menu_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdEqualTo(Long value) {
+ addCriterion("menu_id =", value, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdNotEqualTo(Long value) {
+ addCriterion("menu_id <>", value, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdGreaterThan(Long value) {
+ addCriterion("menu_id >", value, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("menu_id >=", value, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdLessThan(Long value) {
+ addCriterion("menu_id <", value, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdLessThanOrEqualTo(Long value) {
+ addCriterion("menu_id <=", value, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdIn(List values) {
+ addCriterion("menu_id in", values, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdNotIn(List values) {
+ addCriterion("menu_id not in", values, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdBetween(Long value1, Long value2) {
+ addCriterion("menu_id between", value1, value2, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuIdNotBetween(Long value1, Long value2) {
+ addCriterion("menu_id not between", value1, value2, "menuId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidIsNull() {
+ addCriterion("pid is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidIsNotNull() {
+ addCriterion("pid is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidEqualTo(Long value) {
+ addCriterion("pid =", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidNotEqualTo(Long value) {
+ addCriterion("pid <>", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidGreaterThan(Long value) {
+ addCriterion("pid >", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidGreaterThanOrEqualTo(Long value) {
+ addCriterion("pid >=", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidLessThan(Long value) {
+ addCriterion("pid <", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidLessThanOrEqualTo(Long value) {
+ addCriterion("pid <=", value, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidIn(List values) {
+ addCriterion("pid in", values, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidNotIn(List values) {
+ addCriterion("pid not in", values, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidBetween(Long value1, Long value2) {
+ addCriterion("pid between", value1, value2, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andPidNotBetween(Long value1, Long value2) {
+ addCriterion("pid not between", value1, value2, "pid");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountIsNull() {
+ addCriterion("sub_count is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountIsNotNull() {
+ addCriterion("sub_count is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountEqualTo(Integer value) {
+ addCriterion("sub_count =", value, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountNotEqualTo(Integer value) {
+ addCriterion("sub_count <>", value, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountGreaterThan(Integer value) {
+ addCriterion("sub_count >", value, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountGreaterThanOrEqualTo(Integer value) {
+ addCriterion("sub_count >=", value, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountLessThan(Integer value) {
+ addCriterion("sub_count <", value, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountLessThanOrEqualTo(Integer value) {
+ addCriterion("sub_count <=", value, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountIn(List values) {
+ addCriterion("sub_count in", values, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountNotIn(List values) {
+ addCriterion("sub_count not in", values, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountBetween(Integer value1, Integer value2) {
+ addCriterion("sub_count between", value1, value2, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andSubCountNotBetween(Integer value1, Integer value2) {
+ addCriterion("sub_count not between", value1, value2, "subCount");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("`type` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("`type` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(Integer value) {
+ addCriterion("`type` =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(Integer value) {
+ addCriterion("`type` <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(Integer value) {
+ addCriterion("`type` >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
+ addCriterion("`type` >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(Integer value) {
+ addCriterion("`type` <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(Integer value) {
+ addCriterion("`type` <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("`type` in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("`type` not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(Integer value1, Integer value2) {
+ addCriterion("`type` between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(Integer value1, Integer value2) {
+ addCriterion("`type` not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleIsNull() {
+ addCriterion("title is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleIsNotNull() {
+ addCriterion("title is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleEqualTo(String value) {
+ addCriterion("title =", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleNotEqualTo(String value) {
+ addCriterion("title <>", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleGreaterThan(String value) {
+ addCriterion("title >", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleGreaterThanOrEqualTo(String value) {
+ addCriterion("title >=", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleLessThan(String value) {
+ addCriterion("title <", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleLessThanOrEqualTo(String value) {
+ addCriterion("title <=", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleLike(String value) {
+ addCriterion("title like", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleNotLike(String value) {
+ addCriterion("title not like", value, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleIn(List values) {
+ addCriterion("title in", values, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleNotIn(List values) {
+ addCriterion("title not in", values, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleBetween(String value1, String value2) {
+ addCriterion("title between", value1, value2, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andTitleNotBetween(String value1, String value2) {
+ addCriterion("title not between", value1, value2, "title");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("`name` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("`name` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("`name` =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("`name` <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("`name` >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("`name` >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("`name` <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("`name` <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("`name` like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("`name` not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("`name` in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("`name` not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("`name` between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("`name` not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentIsNull() {
+ addCriterion("component is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentIsNotNull() {
+ addCriterion("component is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentEqualTo(String value) {
+ addCriterion("component =", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentNotEqualTo(String value) {
+ addCriterion("component <>", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentGreaterThan(String value) {
+ addCriterion("component >", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentGreaterThanOrEqualTo(String value) {
+ addCriterion("component >=", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentLessThan(String value) {
+ addCriterion("component <", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentLessThanOrEqualTo(String value) {
+ addCriterion("component <=", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentLike(String value) {
+ addCriterion("component like", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentNotLike(String value) {
+ addCriterion("component not like", value, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentIn(List values) {
+ addCriterion("component in", values, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentNotIn(List values) {
+ addCriterion("component not in", values, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentBetween(String value1, String value2) {
+ addCriterion("component between", value1, value2, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andComponentNotBetween(String value1, String value2) {
+ addCriterion("component not between", value1, value2, "component");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortIsNull() {
+ addCriterion("menu_sort is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortIsNotNull() {
+ addCriterion("menu_sort is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortEqualTo(Integer value) {
+ addCriterion("menu_sort =", value, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortNotEqualTo(Integer value) {
+ addCriterion("menu_sort <>", value, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortGreaterThan(Integer value) {
+ addCriterion("menu_sort >", value, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("menu_sort >=", value, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortLessThan(Integer value) {
+ addCriterion("menu_sort <", value, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortLessThanOrEqualTo(Integer value) {
+ addCriterion("menu_sort <=", value, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortIn(List values) {
+ addCriterion("menu_sort in", values, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortNotIn(List values) {
+ addCriterion("menu_sort not in", values, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortBetween(Integer value1, Integer value2) {
+ addCriterion("menu_sort between", value1, value2, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andMenuSortNotBetween(Integer value1, Integer value2) {
+ addCriterion("menu_sort not between", value1, value2, "menuSort");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconIsNull() {
+ addCriterion("icon is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconIsNotNull() {
+ addCriterion("icon is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconEqualTo(String value) {
+ addCriterion("icon =", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconNotEqualTo(String value) {
+ addCriterion("icon <>", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconGreaterThan(String value) {
+ addCriterion("icon >", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconGreaterThanOrEqualTo(String value) {
+ addCriterion("icon >=", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconLessThan(String value) {
+ addCriterion("icon <", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconLessThanOrEqualTo(String value) {
+ addCriterion("icon <=", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconLike(String value) {
+ addCriterion("icon like", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconNotLike(String value) {
+ addCriterion("icon not like", value, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconIn(List values) {
+ addCriterion("icon in", values, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconNotIn(List values) {
+ addCriterion("icon not in", values, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconBetween(String value1, String value2) {
+ addCriterion("icon between", value1, value2, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andIconNotBetween(String value1, String value2) {
+ addCriterion("icon not between", value1, value2, "icon");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathIsNull() {
+ addCriterion("`path` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathIsNotNull() {
+ addCriterion("`path` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathEqualTo(String value) {
+ addCriterion("`path` =", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathNotEqualTo(String value) {
+ addCriterion("`path` <>", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathGreaterThan(String value) {
+ addCriterion("`path` >", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathGreaterThanOrEqualTo(String value) {
+ addCriterion("`path` >=", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathLessThan(String value) {
+ addCriterion("`path` <", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathLessThanOrEqualTo(String value) {
+ addCriterion("`path` <=", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathLike(String value) {
+ addCriterion("`path` like", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathNotLike(String value) {
+ addCriterion("`path` not like", value, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathIn(List values) {
+ addCriterion("`path` in", values, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathNotIn(List values) {
+ addCriterion("`path` not in", values, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathBetween(String value1, String value2) {
+ addCriterion("`path` between", value1, value2, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andPathNotBetween(String value1, String value2) {
+ addCriterion("`path` not between", value1, value2, "path");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameIsNull() {
+ addCriterion("i_frame is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameIsNotNull() {
+ addCriterion("i_frame is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameEqualTo(Boolean value) {
+ addCriterion("i_frame =", value, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameNotEqualTo(Boolean value) {
+ addCriterion("i_frame <>", value, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameGreaterThan(Boolean value) {
+ addCriterion("i_frame >", value, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameGreaterThanOrEqualTo(Boolean value) {
+ addCriterion("i_frame >=", value, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameLessThan(Boolean value) {
+ addCriterion("i_frame <", value, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameLessThanOrEqualTo(Boolean value) {
+ addCriterion("i_frame <=", value, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameIn(List values) {
+ addCriterion("i_frame in", values, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameNotIn(List values) {
+ addCriterion("i_frame not in", values, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameBetween(Boolean value1, Boolean value2) {
+ addCriterion("i_frame between", value1, value2, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andIFrameNotBetween(Boolean value1, Boolean value2) {
+ addCriterion("i_frame not between", value1, value2, "iFrame");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheIsNull() {
+ addCriterion("`cache` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheIsNotNull() {
+ addCriterion("`cache` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheEqualTo(Boolean value) {
+ addCriterion("`cache` =", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheNotEqualTo(Boolean value) {
+ addCriterion("`cache` <>", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheGreaterThan(Boolean value) {
+ addCriterion("`cache` >", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheGreaterThanOrEqualTo(Boolean value) {
+ addCriterion("`cache` >=", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheLessThan(Boolean value) {
+ addCriterion("`cache` <", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheLessThanOrEqualTo(Boolean value) {
+ addCriterion("`cache` <=", value, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheIn(List values) {
+ addCriterion("`cache` in", values, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheNotIn(List values) {
+ addCriterion("`cache` not in", values, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheBetween(Boolean value1, Boolean value2) {
+ addCriterion("`cache` between", value1, value2, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andCacheNotBetween(Boolean value1, Boolean value2) {
+ addCriterion("`cache` not between", value1, value2, "cache");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenIsNull() {
+ addCriterion("hidden is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenIsNotNull() {
+ addCriterion("hidden is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenEqualTo(Boolean value) {
+ addCriterion("hidden =", value, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenNotEqualTo(Boolean value) {
+ addCriterion("hidden <>", value, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenGreaterThan(Boolean value) {
+ addCriterion("hidden >", value, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenGreaterThanOrEqualTo(Boolean value) {
+ addCriterion("hidden >=", value, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenLessThan(Boolean value) {
+ addCriterion("hidden <", value, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenLessThanOrEqualTo(Boolean value) {
+ addCriterion("hidden <=", value, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenIn(List values) {
+ addCriterion("hidden in", values, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenNotIn(List values) {
+ addCriterion("hidden not in", values, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenBetween(Boolean value1, Boolean value2) {
+ addCriterion("hidden between", value1, value2, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andHiddenNotBetween(Boolean value1, Boolean value2) {
+ addCriterion("hidden not between", value1, value2, "hidden");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionIsNull() {
+ addCriterion("permission is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionIsNotNull() {
+ addCriterion("permission is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionEqualTo(String value) {
+ addCriterion("permission =", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionNotEqualTo(String value) {
+ addCriterion("permission <>", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionGreaterThan(String value) {
+ addCriterion("permission >", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionGreaterThanOrEqualTo(String value) {
+ addCriterion("permission >=", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionLessThan(String value) {
+ addCriterion("permission <", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionLessThanOrEqualTo(String value) {
+ addCriterion("permission <=", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionLike(String value) {
+ addCriterion("permission like", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionNotLike(String value) {
+ addCriterion("permission not like", value, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionIn(List values) {
+ addCriterion("permission in", values, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionNotIn(List values) {
+ addCriterion("permission not in", values, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionBetween(String value1, String value2) {
+ addCriterion("permission between", value1, value2, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andPermissionNotBetween(String value1, String value2) {
+ addCriterion("permission not between", value1, value2, "permission");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNull() {
+ addCriterion("create_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNotNull() {
+ addCriterion("create_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByEqualTo(String value) {
+ addCriterion("create_by =", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotEqualTo(String value) {
+ addCriterion("create_by <>", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThan(String value) {
+ addCriterion("create_by >", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThanOrEqualTo(String value) {
+ addCriterion("create_by >=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThan(String value) {
+ addCriterion("create_by <", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThanOrEqualTo(String value) {
+ addCriterion("create_by <=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLike(String value) {
+ addCriterion("create_by like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotLike(String value) {
+ addCriterion("create_by not like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIn(List values) {
+ addCriterion("create_by in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotIn(List values) {
+ addCriterion("create_by not in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByBetween(String value1, String value2) {
+ addCriterion("create_by between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotBetween(String value1, String value2) {
+ addCriterion("create_by not between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIsNull() {
+ addCriterion("update_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIsNotNull() {
+ addCriterion("update_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByEqualTo(String value) {
+ addCriterion("update_by =", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotEqualTo(String value) {
+ addCriterion("update_by <>", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByGreaterThan(String value) {
+ addCriterion("update_by >", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
+ addCriterion("update_by >=", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLessThan(String value) {
+ addCriterion("update_by <", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLessThanOrEqualTo(String value) {
+ addCriterion("update_by <=", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLike(String value) {
+ addCriterion("update_by like", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotLike(String value) {
+ addCriterion("update_by not like", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIn(List values) {
+ addCriterion("update_by in", values, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotIn(List values) {
+ addCriterion("update_by not in", values, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByBetween(String value1, String value2) {
+ addCriterion("update_by between", value1, value2, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotBetween(String value1, String value2) {
+ addCriterion("update_by not between", value1, value2, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Long value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Long value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Long value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Long value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Long value1, Long value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Long value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Long value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Long value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Long value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Long value1, Long value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysRole.java b/backend/src/main/java/io/dataease/base/domain/SysRole.java
new file mode 100644
index 0000000000..85e561117b
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysRole.java
@@ -0,0 +1,23 @@
+package io.dataease.base.domain;
+
+import java.io.Serializable;
+import lombok.Data;
+
+@Data
+public class SysRole implements Serializable {
+ private Long roleId;
+
+ private String name;
+
+ private String description;
+
+ private String createBy;
+
+ private String updateBy;
+
+ private Long createTime;
+
+ private Long updateTime;
+
+ private static final long serialVersionUID = 1L;
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysRoleExample.java b/backend/src/main/java/io/dataease/base/domain/SysRoleExample.java
new file mode 100644
index 0000000000..bf2c892cdc
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysRoleExample.java
@@ -0,0 +1,660 @@
+package io.dataease.base.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class SysRoleExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public SysRoleExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andRoleIdIsNull() {
+ addCriterion("role_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdIsNotNull() {
+ addCriterion("role_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdEqualTo(Long value) {
+ addCriterion("role_id =", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdNotEqualTo(Long value) {
+ addCriterion("role_id <>", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdGreaterThan(Long value) {
+ addCriterion("role_id >", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("role_id >=", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdLessThan(Long value) {
+ addCriterion("role_id <", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdLessThanOrEqualTo(Long value) {
+ addCriterion("role_id <=", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdIn(List values) {
+ addCriterion("role_id in", values, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdNotIn(List values) {
+ addCriterion("role_id not in", values, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdBetween(Long value1, Long value2) {
+ addCriterion("role_id between", value1, value2, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdNotBetween(Long value1, Long value2) {
+ addCriterion("role_id not between", value1, value2, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("`name` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("`name` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("`name` =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("`name` <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("`name` >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("`name` >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("`name` <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("`name` <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("`name` like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("`name` not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("`name` in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("`name` not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("`name` between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("`name` not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionIsNull() {
+ addCriterion("description is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionIsNotNull() {
+ addCriterion("description is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionEqualTo(String value) {
+ addCriterion("description =", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionNotEqualTo(String value) {
+ addCriterion("description <>", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionGreaterThan(String value) {
+ addCriterion("description >", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
+ addCriterion("description >=", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionLessThan(String value) {
+ addCriterion("description <", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionLessThanOrEqualTo(String value) {
+ addCriterion("description <=", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionLike(String value) {
+ addCriterion("description like", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionNotLike(String value) {
+ addCriterion("description not like", value, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionIn(List values) {
+ addCriterion("description in", values, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionNotIn(List values) {
+ addCriterion("description not in", values, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionBetween(String value1, String value2) {
+ addCriterion("description between", value1, value2, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andDescriptionNotBetween(String value1, String value2) {
+ addCriterion("description not between", value1, value2, "description");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNull() {
+ addCriterion("create_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNotNull() {
+ addCriterion("create_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByEqualTo(String value) {
+ addCriterion("create_by =", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotEqualTo(String value) {
+ addCriterion("create_by <>", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThan(String value) {
+ addCriterion("create_by >", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThanOrEqualTo(String value) {
+ addCriterion("create_by >=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThan(String value) {
+ addCriterion("create_by <", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThanOrEqualTo(String value) {
+ addCriterion("create_by <=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLike(String value) {
+ addCriterion("create_by like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotLike(String value) {
+ addCriterion("create_by not like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIn(List values) {
+ addCriterion("create_by in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotIn(List values) {
+ addCriterion("create_by not in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByBetween(String value1, String value2) {
+ addCriterion("create_by between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotBetween(String value1, String value2) {
+ addCriterion("create_by not between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIsNull() {
+ addCriterion("update_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIsNotNull() {
+ addCriterion("update_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByEqualTo(String value) {
+ addCriterion("update_by =", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotEqualTo(String value) {
+ addCriterion("update_by <>", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByGreaterThan(String value) {
+ addCriterion("update_by >", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
+ addCriterion("update_by >=", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLessThan(String value) {
+ addCriterion("update_by <", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLessThanOrEqualTo(String value) {
+ addCriterion("update_by <=", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLike(String value) {
+ addCriterion("update_by like", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotLike(String value) {
+ addCriterion("update_by not like", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIn(List values) {
+ addCriterion("update_by in", values, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotIn(List values) {
+ addCriterion("update_by not in", values, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByBetween(String value1, String value2) {
+ addCriterion("update_by between", value1, value2, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotBetween(String value1, String value2) {
+ addCriterion("update_by not between", value1, value2, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Long value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Long value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Long value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Long value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Long value1, Long value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Long value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Long value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Long value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Long value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Long value1, Long value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysUser.java b/backend/src/main/java/io/dataease/base/domain/SysUser.java
new file mode 100644
index 0000000000..56775ba68b
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysUser.java
@@ -0,0 +1,39 @@
+package io.dataease.base.domain;
+
+import java.io.Serializable;
+import lombok.Data;
+
+@Data
+public class SysUser implements Serializable {
+ private Long userId;
+
+ private Long deptId;
+
+ private String username;
+
+ private String nickName;
+
+ private String gender;
+
+ private String phone;
+
+ private String email;
+
+ private String password;
+
+ private Boolean isAdmin;
+
+ private Long enabled;
+
+ private String createBy;
+
+ private String updateBy;
+
+ private Long pwdResetTime;
+
+ private Long createTime;
+
+ private Long updateTime;
+
+ private static final long serialVersionUID = 1L;
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysUserExample.java b/backend/src/main/java/io/dataease/base/domain/SysUserExample.java
new file mode 100644
index 0000000000..1bc5260883
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysUserExample.java
@@ -0,0 +1,1180 @@
+package io.dataease.base.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class SysUserExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public SysUserExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andUserIdIsNull() {
+ addCriterion("user_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIsNotNull() {
+ addCriterion("user_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdEqualTo(Long value) {
+ addCriterion("user_id =", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotEqualTo(Long value) {
+ addCriterion("user_id <>", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThan(Long value) {
+ addCriterion("user_id >", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("user_id >=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThan(Long value) {
+ addCriterion("user_id <", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThanOrEqualTo(Long value) {
+ addCriterion("user_id <=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIn(List values) {
+ addCriterion("user_id in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotIn(List values) {
+ addCriterion("user_id not in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdBetween(Long value1, Long value2) {
+ addCriterion("user_id between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotBetween(Long value1, Long value2) {
+ addCriterion("user_id not between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdIsNull() {
+ addCriterion("dept_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdIsNotNull() {
+ addCriterion("dept_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdEqualTo(Long value) {
+ addCriterion("dept_id =", value, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdNotEqualTo(Long value) {
+ addCriterion("dept_id <>", value, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdGreaterThan(Long value) {
+ addCriterion("dept_id >", value, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("dept_id >=", value, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdLessThan(Long value) {
+ addCriterion("dept_id <", value, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdLessThanOrEqualTo(Long value) {
+ addCriterion("dept_id <=", value, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdIn(List values) {
+ addCriterion("dept_id in", values, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdNotIn(List values) {
+ addCriterion("dept_id not in", values, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdBetween(Long value1, Long value2) {
+ addCriterion("dept_id between", value1, value2, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDeptIdNotBetween(Long value1, Long value2) {
+ addCriterion("dept_id not between", value1, value2, "deptId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameIsNull() {
+ addCriterion("username is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameIsNotNull() {
+ addCriterion("username is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameEqualTo(String value) {
+ addCriterion("username =", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameNotEqualTo(String value) {
+ addCriterion("username <>", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameGreaterThan(String value) {
+ addCriterion("username >", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameGreaterThanOrEqualTo(String value) {
+ addCriterion("username >=", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameLessThan(String value) {
+ addCriterion("username <", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameLessThanOrEqualTo(String value) {
+ addCriterion("username <=", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameLike(String value) {
+ addCriterion("username like", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameNotLike(String value) {
+ addCriterion("username not like", value, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameIn(List values) {
+ addCriterion("username in", values, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameNotIn(List values) {
+ addCriterion("username not in", values, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameBetween(String value1, String value2) {
+ addCriterion("username between", value1, value2, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andUsernameNotBetween(String value1, String value2) {
+ addCriterion("username not between", value1, value2, "username");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameIsNull() {
+ addCriterion("nick_name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameIsNotNull() {
+ addCriterion("nick_name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameEqualTo(String value) {
+ addCriterion("nick_name =", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameNotEqualTo(String value) {
+ addCriterion("nick_name <>", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameGreaterThan(String value) {
+ addCriterion("nick_name >", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameGreaterThanOrEqualTo(String value) {
+ addCriterion("nick_name >=", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameLessThan(String value) {
+ addCriterion("nick_name <", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameLessThanOrEqualTo(String value) {
+ addCriterion("nick_name <=", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameLike(String value) {
+ addCriterion("nick_name like", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameNotLike(String value) {
+ addCriterion("nick_name not like", value, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameIn(List values) {
+ addCriterion("nick_name in", values, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameNotIn(List values) {
+ addCriterion("nick_name not in", values, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameBetween(String value1, String value2) {
+ addCriterion("nick_name between", value1, value2, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andNickNameNotBetween(String value1, String value2) {
+ addCriterion("nick_name not between", value1, value2, "nickName");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderIsNull() {
+ addCriterion("gender is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderIsNotNull() {
+ addCriterion("gender is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderEqualTo(String value) {
+ addCriterion("gender =", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderNotEqualTo(String value) {
+ addCriterion("gender <>", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderGreaterThan(String value) {
+ addCriterion("gender >", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderGreaterThanOrEqualTo(String value) {
+ addCriterion("gender >=", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderLessThan(String value) {
+ addCriterion("gender <", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderLessThanOrEqualTo(String value) {
+ addCriterion("gender <=", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderLike(String value) {
+ addCriterion("gender like", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderNotLike(String value) {
+ addCriterion("gender not like", value, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderIn(List values) {
+ addCriterion("gender in", values, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderNotIn(List values) {
+ addCriterion("gender not in", values, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderBetween(String value1, String value2) {
+ addCriterion("gender between", value1, value2, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andGenderNotBetween(String value1, String value2) {
+ addCriterion("gender not between", value1, value2, "gender");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneIsNull() {
+ addCriterion("phone is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneIsNotNull() {
+ addCriterion("phone is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneEqualTo(String value) {
+ addCriterion("phone =", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotEqualTo(String value) {
+ addCriterion("phone <>", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneGreaterThan(String value) {
+ addCriterion("phone >", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneGreaterThanOrEqualTo(String value) {
+ addCriterion("phone >=", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneLessThan(String value) {
+ addCriterion("phone <", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneLessThanOrEqualTo(String value) {
+ addCriterion("phone <=", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneLike(String value) {
+ addCriterion("phone like", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotLike(String value) {
+ addCriterion("phone not like", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneIn(List values) {
+ addCriterion("phone in", values, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotIn(List values) {
+ addCriterion("phone not in", values, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneBetween(String value1, String value2) {
+ addCriterion("phone between", value1, value2, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotBetween(String value1, String value2) {
+ addCriterion("phone not between", value1, value2, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailIsNull() {
+ addCriterion("email is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailIsNotNull() {
+ addCriterion("email is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailEqualTo(String value) {
+ addCriterion("email =", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailNotEqualTo(String value) {
+ addCriterion("email <>", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailGreaterThan(String value) {
+ addCriterion("email >", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailGreaterThanOrEqualTo(String value) {
+ addCriterion("email >=", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailLessThan(String value) {
+ addCriterion("email <", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailLessThanOrEqualTo(String value) {
+ addCriterion("email <=", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailLike(String value) {
+ addCriterion("email like", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailNotLike(String value) {
+ addCriterion("email not like", value, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailIn(List values) {
+ addCriterion("email in", values, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailNotIn(List values) {
+ addCriterion("email not in", values, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailBetween(String value1, String value2) {
+ addCriterion("email between", value1, value2, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andEmailNotBetween(String value1, String value2) {
+ addCriterion("email not between", value1, value2, "email");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordIsNull() {
+ addCriterion("`password` is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordIsNotNull() {
+ addCriterion("`password` is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordEqualTo(String value) {
+ addCriterion("`password` =", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotEqualTo(String value) {
+ addCriterion("`password` <>", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordGreaterThan(String value) {
+ addCriterion("`password` >", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordGreaterThanOrEqualTo(String value) {
+ addCriterion("`password` >=", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordLessThan(String value) {
+ addCriterion("`password` <", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordLessThanOrEqualTo(String value) {
+ addCriterion("`password` <=", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordLike(String value) {
+ addCriterion("`password` like", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotLike(String value) {
+ addCriterion("`password` not like", value, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordIn(List values) {
+ addCriterion("`password` in", values, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotIn(List values) {
+ addCriterion("`password` not in", values, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordBetween(String value1, String value2) {
+ addCriterion("`password` between", value1, value2, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andPasswordNotBetween(String value1, String value2) {
+ addCriterion("`password` not between", value1, value2, "password");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminIsNull() {
+ addCriterion("is_admin is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminIsNotNull() {
+ addCriterion("is_admin is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminEqualTo(Boolean value) {
+ addCriterion("is_admin =", value, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminNotEqualTo(Boolean value) {
+ addCriterion("is_admin <>", value, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminGreaterThan(Boolean value) {
+ addCriterion("is_admin >", value, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminGreaterThanOrEqualTo(Boolean value) {
+ addCriterion("is_admin >=", value, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminLessThan(Boolean value) {
+ addCriterion("is_admin <", value, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminLessThanOrEqualTo(Boolean value) {
+ addCriterion("is_admin <=", value, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminIn(List values) {
+ addCriterion("is_admin in", values, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminNotIn(List values) {
+ addCriterion("is_admin not in", values, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminBetween(Boolean value1, Boolean value2) {
+ addCriterion("is_admin between", value1, value2, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andIsAdminNotBetween(Boolean value1, Boolean value2) {
+ addCriterion("is_admin not between", value1, value2, "isAdmin");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledIsNull() {
+ addCriterion("enabled is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledIsNotNull() {
+ addCriterion("enabled is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledEqualTo(Long value) {
+ addCriterion("enabled =", value, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledNotEqualTo(Long value) {
+ addCriterion("enabled <>", value, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledGreaterThan(Long value) {
+ addCriterion("enabled >", value, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledGreaterThanOrEqualTo(Long value) {
+ addCriterion("enabled >=", value, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledLessThan(Long value) {
+ addCriterion("enabled <", value, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledLessThanOrEqualTo(Long value) {
+ addCriterion("enabled <=", value, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledIn(List values) {
+ addCriterion("enabled in", values, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledNotIn(List values) {
+ addCriterion("enabled not in", values, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledBetween(Long value1, Long value2) {
+ addCriterion("enabled between", value1, value2, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andEnabledNotBetween(Long value1, Long value2) {
+ addCriterion("enabled not between", value1, value2, "enabled");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNull() {
+ addCriterion("create_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIsNotNull() {
+ addCriterion("create_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByEqualTo(String value) {
+ addCriterion("create_by =", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotEqualTo(String value) {
+ addCriterion("create_by <>", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThan(String value) {
+ addCriterion("create_by >", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByGreaterThanOrEqualTo(String value) {
+ addCriterion("create_by >=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThan(String value) {
+ addCriterion("create_by <", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLessThanOrEqualTo(String value) {
+ addCriterion("create_by <=", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByLike(String value) {
+ addCriterion("create_by like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotLike(String value) {
+ addCriterion("create_by not like", value, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByIn(List values) {
+ addCriterion("create_by in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotIn(List values) {
+ addCriterion("create_by not in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByBetween(String value1, String value2) {
+ addCriterion("create_by between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotBetween(String value1, String value2) {
+ addCriterion("create_by not between", value1, value2, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIsNull() {
+ addCriterion("update_by is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIsNotNull() {
+ addCriterion("update_by is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByEqualTo(String value) {
+ addCriterion("update_by =", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotEqualTo(String value) {
+ addCriterion("update_by <>", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByGreaterThan(String value) {
+ addCriterion("update_by >", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
+ addCriterion("update_by >=", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLessThan(String value) {
+ addCriterion("update_by <", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLessThanOrEqualTo(String value) {
+ addCriterion("update_by <=", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByLike(String value) {
+ addCriterion("update_by like", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotLike(String value) {
+ addCriterion("update_by not like", value, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByIn(List values) {
+ addCriterion("update_by in", values, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotIn(List values) {
+ addCriterion("update_by not in", values, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByBetween(String value1, String value2) {
+ addCriterion("update_by between", value1, value2, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotBetween(String value1, String value2) {
+ addCriterion("update_by not between", value1, value2, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeIsNull() {
+ addCriterion("pwd_reset_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeIsNotNull() {
+ addCriterion("pwd_reset_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeEqualTo(Long value) {
+ addCriterion("pwd_reset_time =", value, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeNotEqualTo(Long value) {
+ addCriterion("pwd_reset_time <>", value, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeGreaterThan(Long value) {
+ addCriterion("pwd_reset_time >", value, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("pwd_reset_time >=", value, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeLessThan(Long value) {
+ addCriterion("pwd_reset_time <", value, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeLessThanOrEqualTo(Long value) {
+ addCriterion("pwd_reset_time <=", value, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeIn(List values) {
+ addCriterion("pwd_reset_time in", values, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeNotIn(List values) {
+ addCriterion("pwd_reset_time not in", values, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeBetween(Long value1, Long value2) {
+ addCriterion("pwd_reset_time between", value1, value2, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andPwdResetTimeNotBetween(Long value1, Long value2) {
+ addCriterion("pwd_reset_time not between", value1, value2, "pwdResetTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Long value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Long value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Long value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Long value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Long value1, Long value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Long value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Long value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Long value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Long value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Long value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Long value1, Long value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Long value1, Long value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysUsersRolesExample.java b/backend/src/main/java/io/dataease/base/domain/SysUsersRolesExample.java
new file mode 100644
index 0000000000..7065c280ba
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysUsersRolesExample.java
@@ -0,0 +1,320 @@
+package io.dataease.base.domain;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class SysUsersRolesExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public SysUsersRolesExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andUserIdIsNull() {
+ addCriterion("user_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIsNotNull() {
+ addCriterion("user_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdEqualTo(Long value) {
+ addCriterion("user_id =", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotEqualTo(Long value) {
+ addCriterion("user_id <>", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThan(Long value) {
+ addCriterion("user_id >", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("user_id >=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThan(Long value) {
+ addCriterion("user_id <", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThanOrEqualTo(Long value) {
+ addCriterion("user_id <=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIn(List values) {
+ addCriterion("user_id in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotIn(List values) {
+ addCriterion("user_id not in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdBetween(Long value1, Long value2) {
+ addCriterion("user_id between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotBetween(Long value1, Long value2) {
+ addCriterion("user_id not between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdIsNull() {
+ addCriterion("role_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdIsNotNull() {
+ addCriterion("role_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdEqualTo(Long value) {
+ addCriterion("role_id =", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdNotEqualTo(Long value) {
+ addCriterion("role_id <>", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdGreaterThan(Long value) {
+ addCriterion("role_id >", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("role_id >=", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdLessThan(Long value) {
+ addCriterion("role_id <", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdLessThanOrEqualTo(Long value) {
+ addCriterion("role_id <=", value, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdIn(List values) {
+ addCriterion("role_id in", values, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdNotIn(List values) {
+ addCriterion("role_id not in", values, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdBetween(Long value1, Long value2) {
+ addCriterion("role_id between", value1, value2, "roleId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRoleIdNotBetween(Long value1, Long value2) {
+ addCriterion("role_id not between", value1, value2, "roleId");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/domain/SysUsersRolesKey.java b/backend/src/main/java/io/dataease/base/domain/SysUsersRolesKey.java
new file mode 100644
index 0000000000..5fd0a8974e
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/domain/SysUsersRolesKey.java
@@ -0,0 +1,13 @@
+package io.dataease.base.domain;
+
+import java.io.Serializable;
+import lombok.Data;
+
+@Data
+public class SysUsersRolesKey implements Serializable {
+ private Long userId;
+
+ private Long roleId;
+
+ private static final long serialVersionUID = 1L;
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/ChartGroupMapper.java b/backend/src/main/java/io/dataease/base/mapper/ChartGroupMapper.java
new file mode 100644
index 0000000000..92e6264833
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/ChartGroupMapper.java
@@ -0,0 +1,30 @@
+package io.dataease.base.mapper;
+
+import io.dataease.base.domain.ChartGroup;
+import io.dataease.base.domain.ChartGroupExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface ChartGroupMapper {
+ long countByExample(ChartGroupExample example);
+
+ int deleteByExample(ChartGroupExample example);
+
+ int deleteByPrimaryKey(String id);
+
+ int insert(ChartGroup record);
+
+ int insertSelective(ChartGroup record);
+
+ List selectByExample(ChartGroupExample example);
+
+ ChartGroup selectByPrimaryKey(String id);
+
+ int updateByExampleSelective(@Param("record") ChartGroup record, @Param("example") ChartGroupExample example);
+
+ int updateByExample(@Param("record") ChartGroup record, @Param("example") ChartGroupExample example);
+
+ int updateByPrimaryKeySelective(ChartGroup record);
+
+ int updateByPrimaryKey(ChartGroup record);
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/ChartGroupMapper.xml b/backend/src/main/java/io/dataease/base/mapper/ChartGroupMapper.xml
new file mode 100644
index 0000000000..58f37d6da4
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/ChartGroupMapper.xml
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, `name`, pid, `level`, `type`, create_by, create_time
+
+
+
+
+ delete from chart_group
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ delete from chart_group
+
+
+
+
+
+ insert into chart_group (id, `name`, pid,
+ `level`, `type`, create_by,
+ create_time)
+ values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR},
+ #{level,jdbcType=INTEGER}, #{type,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
+ #{createTime,jdbcType=BIGINT})
+
+
+ insert into chart_group
+
+
+ id,
+
+
+ `name`,
+
+
+ pid,
+
+
+ `level`,
+
+
+ `type`,
+
+
+ create_by,
+
+
+ create_time,
+
+
+
+
+ #{id,jdbcType=VARCHAR},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{pid,jdbcType=VARCHAR},
+
+
+ #{level,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=VARCHAR},
+
+
+ #{createBy,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=BIGINT},
+
+
+
+
+
+ update chart_group
+
+
+ id = #{record.id,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ pid = #{record.pid,jdbcType=VARCHAR},
+
+
+ `level` = #{record.level,jdbcType=INTEGER},
+
+
+ `type` = #{record.type,jdbcType=VARCHAR},
+
+
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update chart_group
+ set id = #{record.id,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ pid = #{record.pid,jdbcType=VARCHAR},
+ `level` = #{record.level,jdbcType=INTEGER},
+ `type` = #{record.type,jdbcType=VARCHAR},
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=BIGINT}
+
+
+
+
+
+ update chart_group
+
+
+ `name` = #{name,jdbcType=VARCHAR},
+
+
+ pid = #{pid,jdbcType=VARCHAR},
+
+
+ `level` = #{level,jdbcType=INTEGER},
+
+
+ `type` = #{type,jdbcType=VARCHAR},
+
+
+ create_by = #{createBy,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ update chart_group
+ set `name` = #{name,jdbcType=VARCHAR},
+ pid = #{pid,jdbcType=VARCHAR},
+ `level` = #{level,jdbcType=INTEGER},
+ `type` = #{type,jdbcType=VARCHAR},
+ create_by = #{createBy,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=BIGINT}
+ where id = #{id,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/DatasetTableFieldMapper.java b/backend/src/main/java/io/dataease/base/mapper/DatasetTableFieldMapper.java
new file mode 100644
index 0000000000..a22f2e1786
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/DatasetTableFieldMapper.java
@@ -0,0 +1,30 @@
+package io.dataease.base.mapper;
+
+import io.dataease.base.domain.DatasetTableField;
+import io.dataease.base.domain.DatasetTableFieldExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface DatasetTableFieldMapper {
+ long countByExample(DatasetTableFieldExample example);
+
+ int deleteByExample(DatasetTableFieldExample example);
+
+ int deleteByPrimaryKey(String id);
+
+ int insert(DatasetTableField record);
+
+ int insertSelective(DatasetTableField record);
+
+ List selectByExample(DatasetTableFieldExample example);
+
+ DatasetTableField selectByPrimaryKey(String id);
+
+ int updateByExampleSelective(@Param("record") DatasetTableField record, @Param("example") DatasetTableFieldExample example);
+
+ int updateByExample(@Param("record") DatasetTableField record, @Param("example") DatasetTableFieldExample example);
+
+ int updateByPrimaryKeySelective(DatasetTableField record);
+
+ int updateByPrimaryKey(DatasetTableField record);
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/DatasetTableFieldMapper.xml b/backend/src/main/java/io/dataease/base/mapper/DatasetTableFieldMapper.xml
new file mode 100644
index 0000000000..d8704dc80c
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/DatasetTableFieldMapper.xml
@@ -0,0 +1,258 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, table_id, origin_name, `name`, `type`, `checked`, column_index, last_sync_time
+
+
+
+
+ delete from dataset_table_field
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ delete from dataset_table_field
+
+
+
+
+
+ insert into dataset_table_field (id, table_id, origin_name,
+ `name`, `type`, `checked`, column_index,
+ last_sync_time)
+ values (#{id,jdbcType=VARCHAR}, #{tableId,jdbcType=VARCHAR}, #{originName,jdbcType=VARCHAR},
+ #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{checked,jdbcType=BIT}, #{columnIndex,jdbcType=INTEGER},
+ #{lastSyncTime,jdbcType=BIGINT})
+
+
+ insert into dataset_table_field
+
+
+ id,
+
+
+ table_id,
+
+
+ origin_name,
+
+
+ `name`,
+
+
+ `type`,
+
+
+ `checked`,
+
+
+ column_index,
+
+
+ last_sync_time,
+
+
+
+
+ #{id,jdbcType=VARCHAR},
+
+
+ #{tableId,jdbcType=VARCHAR},
+
+
+ #{originName,jdbcType=VARCHAR},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{type,jdbcType=VARCHAR},
+
+
+ #{checked,jdbcType=BIT},
+
+
+ #{columnIndex,jdbcType=INTEGER},
+
+
+ #{lastSyncTime,jdbcType=BIGINT},
+
+
+
+
+
+ update dataset_table_field
+
+
+ id = #{record.id,jdbcType=VARCHAR},
+
+
+ table_id = #{record.tableId,jdbcType=VARCHAR},
+
+
+ origin_name = #{record.originName,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ `type` = #{record.type,jdbcType=VARCHAR},
+
+
+ `checked` = #{record.checked,jdbcType=BIT},
+
+
+ column_index = #{record.columnIndex,jdbcType=INTEGER},
+
+
+ last_sync_time = #{record.lastSyncTime,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update dataset_table_field
+ set id = #{record.id,jdbcType=VARCHAR},
+ table_id = #{record.tableId,jdbcType=VARCHAR},
+ origin_name = #{record.originName,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ `type` = #{record.type,jdbcType=VARCHAR},
+ `checked` = #{record.checked,jdbcType=BIT},
+ column_index = #{record.columnIndex,jdbcType=INTEGER},
+ last_sync_time = #{record.lastSyncTime,jdbcType=BIGINT}
+
+
+
+
+
+ update dataset_table_field
+
+
+ table_id = #{tableId,jdbcType=VARCHAR},
+
+
+ origin_name = #{originName,jdbcType=VARCHAR},
+
+
+ `name` = #{name,jdbcType=VARCHAR},
+
+
+ `type` = #{type,jdbcType=VARCHAR},
+
+
+ `checked` = #{checked,jdbcType=BIT},
+
+
+ column_index = #{columnIndex,jdbcType=INTEGER},
+
+
+ last_sync_time = #{lastSyncTime,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ update dataset_table_field
+ set table_id = #{tableId,jdbcType=VARCHAR},
+ origin_name = #{originName,jdbcType=VARCHAR},
+ `name` = #{name,jdbcType=VARCHAR},
+ `type` = #{type,jdbcType=VARCHAR},
+ `checked` = #{checked,jdbcType=BIT},
+ column_index = #{columnIndex,jdbcType=INTEGER},
+ last_sync_time = #{lastSyncTime,jdbcType=BIGINT}
+ where id = #{id,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/DatasetTableMapper.java b/backend/src/main/java/io/dataease/base/mapper/DatasetTableMapper.java
new file mode 100644
index 0000000000..41e195161c
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/DatasetTableMapper.java
@@ -0,0 +1,36 @@
+package io.dataease.base.mapper;
+
+import io.dataease.base.domain.DatasetTable;
+import io.dataease.base.domain.DatasetTableExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface DatasetTableMapper {
+ long countByExample(DatasetTableExample example);
+
+ int deleteByExample(DatasetTableExample example);
+
+ int deleteByPrimaryKey(String id);
+
+ int insert(DatasetTable record);
+
+ int insertSelective(DatasetTable record);
+
+ List selectByExampleWithBLOBs(DatasetTableExample example);
+
+ List selectByExample(DatasetTableExample example);
+
+ DatasetTable selectByPrimaryKey(String id);
+
+ int updateByExampleSelective(@Param("record") DatasetTable record, @Param("example") DatasetTableExample example);
+
+ int updateByExampleWithBLOBs(@Param("record") DatasetTable record, @Param("example") DatasetTableExample example);
+
+ int updateByExample(@Param("record") DatasetTable record, @Param("example") DatasetTableExample example);
+
+ int updateByPrimaryKeySelective(DatasetTable record);
+
+ int updateByPrimaryKeyWithBLOBs(DatasetTable record);
+
+ int updateByPrimaryKey(DatasetTable record);
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/DatasetTableMapper.xml b/backend/src/main/java/io/dataease/base/mapper/DatasetTableMapper.xml
new file mode 100644
index 0000000000..bec94d3931
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/DatasetTableMapper.xml
@@ -0,0 +1,304 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, `name`, scene_id, data_source_id, `type`, create_by, create_time
+
+
+ info
+
+
+
+
+
+ delete from dataset_table
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ delete from dataset_table
+
+
+
+
+
+ insert into dataset_table (id, `name`, scene_id,
+ data_source_id, `type`, create_by,
+ create_time, info)
+ values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{sceneId,jdbcType=VARCHAR},
+ #{dataSourceId,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
+ #{createTime,jdbcType=BIGINT}, #{info,jdbcType=LONGVARCHAR})
+
+
+ insert into dataset_table
+
+
+ id,
+
+
+ `name`,
+
+
+ scene_id,
+
+
+ data_source_id,
+
+
+ `type`,
+
+
+ create_by,
+
+
+ create_time,
+
+
+ info,
+
+
+
+
+ #{id,jdbcType=VARCHAR},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{sceneId,jdbcType=VARCHAR},
+
+
+ #{dataSourceId,jdbcType=VARCHAR},
+
+
+ #{type,jdbcType=VARCHAR},
+
+
+ #{createBy,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=BIGINT},
+
+
+ #{info,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update dataset_table
+
+
+ id = #{record.id,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ scene_id = #{record.sceneId,jdbcType=VARCHAR},
+
+
+ data_source_id = #{record.dataSourceId,jdbcType=VARCHAR},
+
+
+ `type` = #{record.type,jdbcType=VARCHAR},
+
+
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=BIGINT},
+
+
+ info = #{record.info,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update dataset_table
+ set id = #{record.id,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ scene_id = #{record.sceneId,jdbcType=VARCHAR},
+ data_source_id = #{record.dataSourceId,jdbcType=VARCHAR},
+ `type` = #{record.type,jdbcType=VARCHAR},
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=BIGINT},
+ info = #{record.info,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update dataset_table
+ set id = #{record.id,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ scene_id = #{record.sceneId,jdbcType=VARCHAR},
+ data_source_id = #{record.dataSourceId,jdbcType=VARCHAR},
+ `type` = #{record.type,jdbcType=VARCHAR},
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=BIGINT}
+
+
+
+
+
+ update dataset_table
+
+
+ `name` = #{name,jdbcType=VARCHAR},
+
+
+ scene_id = #{sceneId,jdbcType=VARCHAR},
+
+
+ data_source_id = #{dataSourceId,jdbcType=VARCHAR},
+
+
+ `type` = #{type,jdbcType=VARCHAR},
+
+
+ create_by = #{createBy,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=BIGINT},
+
+
+ info = #{info,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ update dataset_table
+ set `name` = #{name,jdbcType=VARCHAR},
+ scene_id = #{sceneId,jdbcType=VARCHAR},
+ data_source_id = #{dataSourceId,jdbcType=VARCHAR},
+ `type` = #{type,jdbcType=VARCHAR},
+ create_by = #{createBy,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=BIGINT},
+ info = #{info,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=VARCHAR}
+
+
+ update dataset_table
+ set `name` = #{name,jdbcType=VARCHAR},
+ scene_id = #{sceneId,jdbcType=VARCHAR},
+ data_source_id = #{dataSourceId,jdbcType=VARCHAR},
+ `type` = #{type,jdbcType=VARCHAR},
+ create_by = #{createBy,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=BIGINT}
+ where id = #{id,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysMenuMapper.java b/backend/src/main/java/io/dataease/base/mapper/SysMenuMapper.java
new file mode 100644
index 0000000000..94501b6600
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysMenuMapper.java
@@ -0,0 +1,30 @@
+package io.dataease.base.mapper;
+
+import io.dataease.base.domain.SysMenu;
+import io.dataease.base.domain.SysMenuExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface SysMenuMapper {
+ long countByExample(SysMenuExample example);
+
+ int deleteByExample(SysMenuExample example);
+
+ int deleteByPrimaryKey(Long menuId);
+
+ int insert(SysMenu record);
+
+ int insertSelective(SysMenu record);
+
+ List selectByExample(SysMenuExample example);
+
+ SysMenu selectByPrimaryKey(Long menuId);
+
+ int updateByExampleSelective(@Param("record") SysMenu record, @Param("example") SysMenuExample example);
+
+ int updateByExample(@Param("record") SysMenu record, @Param("example") SysMenuExample example);
+
+ int updateByPrimaryKeySelective(SysMenu record);
+
+ int updateByPrimaryKey(SysMenu record);
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysMenuMapper.xml b/backend/src/main/java/io/dataease/base/mapper/SysMenuMapper.xml
new file mode 100644
index 0000000000..83c01e5890
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysMenuMapper.xml
@@ -0,0 +1,415 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ menu_id, pid, sub_count, `type`, title, `name`, component, menu_sort, icon, `path`,
+ i_frame, `cache`, hidden, permission, create_by, update_by, create_time, update_time
+
+
+
+
+ delete from sys_menu
+ where menu_id = #{menuId,jdbcType=BIGINT}
+
+
+ delete from sys_menu
+
+
+
+
+
+ insert into sys_menu (menu_id, pid, sub_count,
+ `type`, title, `name`,
+ component, menu_sort, icon,
+ `path`, i_frame, `cache`, hidden,
+ permission, create_by, update_by,
+ create_time, update_time)
+ values (#{menuId,jdbcType=BIGINT}, #{pid,jdbcType=BIGINT}, #{subCount,jdbcType=INTEGER},
+ #{type,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
+ #{component,jdbcType=VARCHAR}, #{menuSort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR},
+ #{path,jdbcType=VARCHAR}, #{iFrame,jdbcType=BIT}, #{cache,jdbcType=BIT}, #{hidden,jdbcType=BIT},
+ #{permission,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR},
+ #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT})
+
+
+ insert into sys_menu
+
+
+ menu_id,
+
+
+ pid,
+
+
+ sub_count,
+
+
+ `type`,
+
+
+ title,
+
+
+ `name`,
+
+
+ component,
+
+
+ menu_sort,
+
+
+ icon,
+
+
+ `path`,
+
+
+ i_frame,
+
+
+ `cache`,
+
+
+ hidden,
+
+
+ permission,
+
+
+ create_by,
+
+
+ update_by,
+
+
+ create_time,
+
+
+ update_time,
+
+
+
+
+ #{menuId,jdbcType=BIGINT},
+
+
+ #{pid,jdbcType=BIGINT},
+
+
+ #{subCount,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+ #{title,jdbcType=VARCHAR},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{component,jdbcType=VARCHAR},
+
+
+ #{menuSort,jdbcType=INTEGER},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{path,jdbcType=VARCHAR},
+
+
+ #{iFrame,jdbcType=BIT},
+
+
+ #{cache,jdbcType=BIT},
+
+
+ #{hidden,jdbcType=BIT},
+
+
+ #{permission,jdbcType=VARCHAR},
+
+
+ #{createBy,jdbcType=VARCHAR},
+
+
+ #{updateBy,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=BIGINT},
+
+
+ #{updateTime,jdbcType=BIGINT},
+
+
+
+
+
+ update sys_menu
+
+
+ menu_id = #{record.menuId,jdbcType=BIGINT},
+
+
+ pid = #{record.pid,jdbcType=BIGINT},
+
+
+ sub_count = #{record.subCount,jdbcType=INTEGER},
+
+
+ `type` = #{record.type,jdbcType=INTEGER},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ component = #{record.component,jdbcType=VARCHAR},
+
+
+ menu_sort = #{record.menuSort,jdbcType=INTEGER},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ `path` = #{record.path,jdbcType=VARCHAR},
+
+
+ i_frame = #{record.iFrame,jdbcType=BIT},
+
+
+ `cache` = #{record.cache,jdbcType=BIT},
+
+
+ hidden = #{record.hidden,jdbcType=BIT},
+
+
+ permission = #{record.permission,jdbcType=VARCHAR},
+
+
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+
+
+ update_by = #{record.updateBy,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=BIGINT},
+
+
+ update_time = #{record.updateTime,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sys_menu
+ set menu_id = #{record.menuId,jdbcType=BIGINT},
+ pid = #{record.pid,jdbcType=BIGINT},
+ sub_count = #{record.subCount,jdbcType=INTEGER},
+ `type` = #{record.type,jdbcType=INTEGER},
+ title = #{record.title,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ component = #{record.component,jdbcType=VARCHAR},
+ menu_sort = #{record.menuSort,jdbcType=INTEGER},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ `path` = #{record.path,jdbcType=VARCHAR},
+ i_frame = #{record.iFrame,jdbcType=BIT},
+ `cache` = #{record.cache,jdbcType=BIT},
+ hidden = #{record.hidden,jdbcType=BIT},
+ permission = #{record.permission,jdbcType=VARCHAR},
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+ update_by = #{record.updateBy,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=BIGINT},
+ update_time = #{record.updateTime,jdbcType=BIGINT}
+
+
+
+
+
+ update sys_menu
+
+
+ pid = #{pid,jdbcType=BIGINT},
+
+
+ sub_count = #{subCount,jdbcType=INTEGER},
+
+
+ `type` = #{type,jdbcType=INTEGER},
+
+
+ title = #{title,jdbcType=VARCHAR},
+
+
+ `name` = #{name,jdbcType=VARCHAR},
+
+
+ component = #{component,jdbcType=VARCHAR},
+
+
+ menu_sort = #{menuSort,jdbcType=INTEGER},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ `path` = #{path,jdbcType=VARCHAR},
+
+
+ i_frame = #{iFrame,jdbcType=BIT},
+
+
+ `cache` = #{cache,jdbcType=BIT},
+
+
+ hidden = #{hidden,jdbcType=BIT},
+
+
+ permission = #{permission,jdbcType=VARCHAR},
+
+
+ create_by = #{createBy,jdbcType=VARCHAR},
+
+
+ update_by = #{updateBy,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=BIGINT},
+
+
+ update_time = #{updateTime,jdbcType=BIGINT},
+
+
+ where menu_id = #{menuId,jdbcType=BIGINT}
+
+
+ update sys_menu
+ set pid = #{pid,jdbcType=BIGINT},
+ sub_count = #{subCount,jdbcType=INTEGER},
+ `type` = #{type,jdbcType=INTEGER},
+ title = #{title,jdbcType=VARCHAR},
+ `name` = #{name,jdbcType=VARCHAR},
+ component = #{component,jdbcType=VARCHAR},
+ menu_sort = #{menuSort,jdbcType=INTEGER},
+ icon = #{icon,jdbcType=VARCHAR},
+ `path` = #{path,jdbcType=VARCHAR},
+ i_frame = #{iFrame,jdbcType=BIT},
+ `cache` = #{cache,jdbcType=BIT},
+ hidden = #{hidden,jdbcType=BIT},
+ permission = #{permission,jdbcType=VARCHAR},
+ create_by = #{createBy,jdbcType=VARCHAR},
+ update_by = #{updateBy,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=BIGINT},
+ update_time = #{updateTime,jdbcType=BIGINT}
+ where menu_id = #{menuId,jdbcType=BIGINT}
+
+
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysRoleMapper.java b/backend/src/main/java/io/dataease/base/mapper/SysRoleMapper.java
new file mode 100644
index 0000000000..cf64185f11
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysRoleMapper.java
@@ -0,0 +1,30 @@
+package io.dataease.base.mapper;
+
+import io.dataease.base.domain.SysRole;
+import io.dataease.base.domain.SysRoleExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface SysRoleMapper {
+ long countByExample(SysRoleExample example);
+
+ int deleteByExample(SysRoleExample example);
+
+ int deleteByPrimaryKey(Long roleId);
+
+ int insert(SysRole record);
+
+ int insertSelective(SysRole record);
+
+ List selectByExample(SysRoleExample example);
+
+ SysRole selectByPrimaryKey(Long roleId);
+
+ int updateByExampleSelective(@Param("record") SysRole record, @Param("example") SysRoleExample example);
+
+ int updateByExample(@Param("record") SysRole record, @Param("example") SysRoleExample example);
+
+ int updateByPrimaryKeySelective(SysRole record);
+
+ int updateByPrimaryKey(SysRole record);
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysRoleMapper.xml b/backend/src/main/java/io/dataease/base/mapper/SysRoleMapper.xml
new file mode 100644
index 0000000000..3af3284422
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysRoleMapper.xml
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ role_id, `name`, description, create_by, update_by, create_time, update_time
+
+
+
+
+ delete from sys_role
+ where role_id = #{roleId,jdbcType=BIGINT}
+
+
+ delete from sys_role
+
+
+
+
+
+ insert into sys_role (role_id, `name`, description,
+ create_by, update_by, create_time,
+ update_time)
+ values (#{roleId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR},
+ #{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT},
+ #{updateTime,jdbcType=BIGINT})
+
+
+ insert into sys_role
+
+
+ role_id,
+
+
+ `name`,
+
+
+ description,
+
+
+ create_by,
+
+
+ update_by,
+
+
+ create_time,
+
+
+ update_time,
+
+
+
+
+ #{roleId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=VARCHAR},
+
+
+ #{createBy,jdbcType=VARCHAR},
+
+
+ #{updateBy,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=BIGINT},
+
+
+ #{updateTime,jdbcType=BIGINT},
+
+
+
+
+
+ update sys_role
+
+
+ role_id = #{record.roleId,jdbcType=BIGINT},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=VARCHAR},
+
+
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+
+
+ update_by = #{record.updateBy,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=BIGINT},
+
+
+ update_time = #{record.updateTime,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sys_role
+ set role_id = #{record.roleId,jdbcType=BIGINT},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=VARCHAR},
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+ update_by = #{record.updateBy,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=BIGINT},
+ update_time = #{record.updateTime,jdbcType=BIGINT}
+
+
+
+
+
+ update sys_role
+
+
+ `name` = #{name,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=VARCHAR},
+
+
+ create_by = #{createBy,jdbcType=VARCHAR},
+
+
+ update_by = #{updateBy,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=BIGINT},
+
+
+ update_time = #{updateTime,jdbcType=BIGINT},
+
+
+ where role_id = #{roleId,jdbcType=BIGINT}
+
+
+ update sys_role
+ set `name` = #{name,jdbcType=VARCHAR},
+ description = #{description,jdbcType=VARCHAR},
+ create_by = #{createBy,jdbcType=VARCHAR},
+ update_by = #{updateBy,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=BIGINT},
+ update_time = #{updateTime,jdbcType=BIGINT}
+ where role_id = #{roleId,jdbcType=BIGINT}
+
+
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysUserMapper.java b/backend/src/main/java/io/dataease/base/mapper/SysUserMapper.java
new file mode 100644
index 0000000000..8456e7ad70
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysUserMapper.java
@@ -0,0 +1,30 @@
+package io.dataease.base.mapper;
+
+import io.dataease.base.domain.SysUser;
+import io.dataease.base.domain.SysUserExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface SysUserMapper {
+ long countByExample(SysUserExample example);
+
+ int deleteByExample(SysUserExample example);
+
+ int deleteByPrimaryKey(Long userId);
+
+ int insert(SysUser record);
+
+ int insertSelective(SysUser record);
+
+ List selectByExample(SysUserExample example);
+
+ SysUser selectByPrimaryKey(Long userId);
+
+ int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserExample example);
+
+ int updateByExample(@Param("record") SysUser record, @Param("example") SysUserExample example);
+
+ int updateByPrimaryKeySelective(SysUser record);
+
+ int updateByPrimaryKey(SysUser record);
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysUserMapper.xml b/backend/src/main/java/io/dataease/base/mapper/SysUserMapper.xml
new file mode 100644
index 0000000000..de12f32bbc
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysUserMapper.xml
@@ -0,0 +1,370 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ user_id, dept_id, username, nick_name, gender, phone, email, `password`, is_admin,
+ enabled, create_by, update_by, pwd_reset_time, create_time, update_time
+
+
+
+
+ delete from sys_user
+ where user_id = #{userId,jdbcType=BIGINT}
+
+
+ delete from sys_user
+
+
+
+
+
+ insert into sys_user (user_id, dept_id, username,
+ nick_name, gender, phone,
+ email, `password`, is_admin,
+ enabled, create_by, update_by,
+ pwd_reset_time, create_time, update_time
+ )
+ values (#{userId,jdbcType=BIGINT}, #{deptId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR},
+ #{nickName,jdbcType=VARCHAR}, #{gender,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
+ #{email,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{isAdmin,jdbcType=BIT},
+ #{enabled,jdbcType=BIGINT}, #{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR},
+ #{pwdResetTime,jdbcType=BIGINT}, #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}
+ )
+
+
+ insert into sys_user
+
+
+ user_id,
+
+
+ dept_id,
+
+
+ username,
+
+
+ nick_name,
+
+
+ gender,
+
+
+ phone,
+
+
+ email,
+
+
+ `password`,
+
+
+ is_admin,
+
+
+ enabled,
+
+
+ create_by,
+
+
+ update_by,
+
+
+ pwd_reset_time,
+
+
+ create_time,
+
+
+ update_time,
+
+
+
+
+ #{userId,jdbcType=BIGINT},
+
+
+ #{deptId,jdbcType=BIGINT},
+
+
+ #{username,jdbcType=VARCHAR},
+
+
+ #{nickName,jdbcType=VARCHAR},
+
+
+ #{gender,jdbcType=VARCHAR},
+
+
+ #{phone,jdbcType=VARCHAR},
+
+
+ #{email,jdbcType=VARCHAR},
+
+
+ #{password,jdbcType=VARCHAR},
+
+
+ #{isAdmin,jdbcType=BIT},
+
+
+ #{enabled,jdbcType=BIGINT},
+
+
+ #{createBy,jdbcType=VARCHAR},
+
+
+ #{updateBy,jdbcType=VARCHAR},
+
+
+ #{pwdResetTime,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=BIGINT},
+
+
+ #{updateTime,jdbcType=BIGINT},
+
+
+
+
+
+ update sys_user
+
+
+ user_id = #{record.userId,jdbcType=BIGINT},
+
+
+ dept_id = #{record.deptId,jdbcType=BIGINT},
+
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ nick_name = #{record.nickName,jdbcType=VARCHAR},
+
+
+ gender = #{record.gender,jdbcType=VARCHAR},
+
+
+ phone = #{record.phone,jdbcType=VARCHAR},
+
+
+ email = #{record.email,jdbcType=VARCHAR},
+
+
+ `password` = #{record.password,jdbcType=VARCHAR},
+
+
+ is_admin = #{record.isAdmin,jdbcType=BIT},
+
+
+ enabled = #{record.enabled,jdbcType=BIGINT},
+
+
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+
+
+ update_by = #{record.updateBy,jdbcType=VARCHAR},
+
+
+ pwd_reset_time = #{record.pwdResetTime,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=BIGINT},
+
+
+ update_time = #{record.updateTime,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sys_user
+ set user_id = #{record.userId,jdbcType=BIGINT},
+ dept_id = #{record.deptId,jdbcType=BIGINT},
+ username = #{record.username,jdbcType=VARCHAR},
+ nick_name = #{record.nickName,jdbcType=VARCHAR},
+ gender = #{record.gender,jdbcType=VARCHAR},
+ phone = #{record.phone,jdbcType=VARCHAR},
+ email = #{record.email,jdbcType=VARCHAR},
+ `password` = #{record.password,jdbcType=VARCHAR},
+ is_admin = #{record.isAdmin,jdbcType=BIT},
+ enabled = #{record.enabled,jdbcType=BIGINT},
+ create_by = #{record.createBy,jdbcType=VARCHAR},
+ update_by = #{record.updateBy,jdbcType=VARCHAR},
+ pwd_reset_time = #{record.pwdResetTime,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=BIGINT},
+ update_time = #{record.updateTime,jdbcType=BIGINT}
+
+
+
+
+
+ update sys_user
+
+
+ dept_id = #{deptId,jdbcType=BIGINT},
+
+
+ username = #{username,jdbcType=VARCHAR},
+
+
+ nick_name = #{nickName,jdbcType=VARCHAR},
+
+
+ gender = #{gender,jdbcType=VARCHAR},
+
+
+ phone = #{phone,jdbcType=VARCHAR},
+
+
+ email = #{email,jdbcType=VARCHAR},
+
+
+ `password` = #{password,jdbcType=VARCHAR},
+
+
+ is_admin = #{isAdmin,jdbcType=BIT},
+
+
+ enabled = #{enabled,jdbcType=BIGINT},
+
+
+ create_by = #{createBy,jdbcType=VARCHAR},
+
+
+ update_by = #{updateBy,jdbcType=VARCHAR},
+
+
+ pwd_reset_time = #{pwdResetTime,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=BIGINT},
+
+
+ update_time = #{updateTime,jdbcType=BIGINT},
+
+
+ where user_id = #{userId,jdbcType=BIGINT}
+
+
+ update sys_user
+ set dept_id = #{deptId,jdbcType=BIGINT},
+ username = #{username,jdbcType=VARCHAR},
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ gender = #{gender,jdbcType=VARCHAR},
+ phone = #{phone,jdbcType=VARCHAR},
+ email = #{email,jdbcType=VARCHAR},
+ `password` = #{password,jdbcType=VARCHAR},
+ is_admin = #{isAdmin,jdbcType=BIT},
+ enabled = #{enabled,jdbcType=BIGINT},
+ create_by = #{createBy,jdbcType=VARCHAR},
+ update_by = #{updateBy,jdbcType=VARCHAR},
+ pwd_reset_time = #{pwdResetTime,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=BIGINT},
+ update_time = #{updateTime,jdbcType=BIGINT}
+ where user_id = #{userId,jdbcType=BIGINT}
+
+
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysUsersRolesMapper.java b/backend/src/main/java/io/dataease/base/mapper/SysUsersRolesMapper.java
new file mode 100644
index 0000000000..101fa6238f
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysUsersRolesMapper.java
@@ -0,0 +1,24 @@
+package io.dataease.base.mapper;
+
+import io.dataease.base.domain.SysUsersRolesExample;
+import io.dataease.base.domain.SysUsersRolesKey;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface SysUsersRolesMapper {
+ long countByExample(SysUsersRolesExample example);
+
+ int deleteByExample(SysUsersRolesExample example);
+
+ int deleteByPrimaryKey(SysUsersRolesKey key);
+
+ int insert(SysUsersRolesKey record);
+
+ int insertSelective(SysUsersRolesKey record);
+
+ List selectByExample(SysUsersRolesExample example);
+
+ int updateByExampleSelective(@Param("record") SysUsersRolesKey record, @Param("example") SysUsersRolesExample example);
+
+ int updateByExample(@Param("record") SysUsersRolesKey record, @Param("example") SysUsersRolesExample example);
+}
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/SysUsersRolesMapper.xml b/backend/src/main/java/io/dataease/base/mapper/SysUsersRolesMapper.xml
new file mode 100644
index 0000000000..4be29edeee
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/SysUsersRolesMapper.xml
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ user_id, role_id
+
+
+
+ delete from sys_users_roles
+ where user_id = #{userId,jdbcType=BIGINT}
+ and role_id = #{roleId,jdbcType=BIGINT}
+
+
+ delete from sys_users_roles
+
+
+
+
+
+ insert into sys_users_roles (user_id, role_id)
+ values (#{userId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT})
+
+
+ insert into sys_users_roles
+
+
+ user_id,
+
+
+ role_id,
+
+
+
+
+ #{userId,jdbcType=BIGINT},
+
+
+ #{roleId,jdbcType=BIGINT},
+
+
+
+
+
+ update sys_users_roles
+
+
+ user_id = #{record.userId,jdbcType=BIGINT},
+
+
+ role_id = #{record.roleId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sys_users_roles
+ set user_id = #{record.userId,jdbcType=BIGINT},
+ role_id = #{record.roleId,jdbcType=BIGINT}
+
+
+
+
+
\ No newline at end of file
diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtMenuMapper.java b/backend/src/main/java/io/dataease/base/mapper/ext/ExtMenuMapper.java
new file mode 100644
index 0000000000..7eff7f649d
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtMenuMapper.java
@@ -0,0 +1,15 @@
+package io.dataease.base.mapper.ext;
+
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Update;
+
+@Mapper
+public interface ExtMenuMapper {
+
+ @Update(" update sys_menu set sub_count = sub_count+1 where menu_id = #{menuId} ")
+ int incrementalSubcount(@Param("menuId") Long menuId);
+
+ @Update(" update sys_menu set sub_count = sub_count-1 where menu_id = #{menuId} and sub_count > 0")
+ int decreasingSubcount(@Param("menuId") Long menuId);
+}
diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtSysRoleMapper.java b/backend/src/main/java/io/dataease/base/mapper/ext/ExtSysRoleMapper.java
new file mode 100644
index 0000000000..3c0f779594
--- /dev/null
+++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtSysRoleMapper.java
@@ -0,0 +1,22 @@
+package io.dataease.base.mapper.ext;
+
+import io.dataease.controller.sys.request.RoleGridRequest;
+import io.dataease.controller.sys.response.RoleNodeResponse;
+import io.dataease.controller.sys.response.RoleUserItem;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+
+public interface ExtSysRoleMapper {
+
+
+ List query(@Param("request")RoleGridRequest request);
+
+ int deleteRoleMenu(@Param("roleId") Long roleId);
+
+ int batchInsertRoleMenu(@Param("maps") List