Commit 5e63526b authored by 赵建伟's avatar 赵建伟

add import codes

parent 47bde39e
package com.gmei.data.dqmp.domain;
public class TblIndicatorOperatorInfo {
private Integer id;
private String indicatorType;
private String operatorExpr;
private String comment;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getIndicatorType() {
return indicatorType;
}
public void setIndicatorType(String indicatorType) {
this.indicatorType = indicatorType == null ? null : indicatorType.trim();
}
public String getOperatorExpr() {
return operatorExpr;
}
public void setOperatorExpr(String operatorExpr) {
this.operatorExpr = operatorExpr == null ? null : operatorExpr.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.List;
public class TblIndicatorOperatorInfoCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblIndicatorOperatorInfoCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNull() {
addCriterion("indicator_type is null");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNotNull() {
addCriterion("indicator_type is not null");
return (Criteria) this;
}
public Criteria andIndicatorTypeEqualTo(String value) {
addCriterion("indicator_type =", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotEqualTo(String value) {
addCriterion("indicator_type <>", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThan(String value) {
addCriterion("indicator_type >", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThanOrEqualTo(String value) {
addCriterion("indicator_type >=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThan(String value) {
addCriterion("indicator_type <", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThanOrEqualTo(String value) {
addCriterion("indicator_type <=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLike(String value) {
addCriterion("indicator_type like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotLike(String value) {
addCriterion("indicator_type not like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeIn(List<String> values) {
addCriterion("indicator_type in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotIn(List<String> values) {
addCriterion("indicator_type not in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeBetween(String value1, String value2) {
addCriterion("indicator_type between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotBetween(String value1, String value2) {
addCriterion("indicator_type not between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andOperatorExprIsNull() {
addCriterion("operator_expr is null");
return (Criteria) this;
}
public Criteria andOperatorExprIsNotNull() {
addCriterion("operator_expr is not null");
return (Criteria) this;
}
public Criteria andOperatorExprEqualTo(String value) {
addCriterion("operator_expr =", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprNotEqualTo(String value) {
addCriterion("operator_expr <>", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprGreaterThan(String value) {
addCriterion("operator_expr >", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprGreaterThanOrEqualTo(String value) {
addCriterion("operator_expr >=", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprLessThan(String value) {
addCriterion("operator_expr <", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprLessThanOrEqualTo(String value) {
addCriterion("operator_expr <=", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprLike(String value) {
addCriterion("operator_expr like", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprNotLike(String value) {
addCriterion("operator_expr not like", value, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprIn(List<String> values) {
addCriterion("operator_expr in", values, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprNotIn(List<String> values) {
addCriterion("operator_expr not in", values, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprBetween(String value1, String value2) {
addCriterion("operator_expr between", value1, value2, "operatorExpr");
return (Criteria) this;
}
public Criteria andOperatorExprNotBetween(String value1, String value2) {
addCriterion("operator_expr not between", value1, value2, "operatorExpr");
return (Criteria) this;
}
public Criteria andCommentIsNull() {
addCriterion("comment is null");
return (Criteria) this;
}
public Criteria andCommentIsNotNull() {
addCriterion("comment is not null");
return (Criteria) this;
}
public Criteria andCommentEqualTo(String value) {
addCriterion("comment =", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotEqualTo(String value) {
addCriterion("comment <>", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThan(String value) {
addCriterion("comment >", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThanOrEqualTo(String value) {
addCriterion("comment >=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThan(String value) {
addCriterion("comment <", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThanOrEqualTo(String value) {
addCriterion("comment <=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLike(String value) {
addCriterion("comment like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotLike(String value) {
addCriterion("comment not like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentIn(List<String> values) {
addCriterion("comment in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentNotIn(List<String> values) {
addCriterion("comment not in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentBetween(String value1, String value2) {
addCriterion("comment between", value1, value2, "comment");
return (Criteria) this;
}
public Criteria andCommentNotBetween(String value1, String value2) {
addCriterion("comment not between", value1, value2, "comment");
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
package com.gmei.data.dqmp.domain;
public class TblResultCheckRefer {
private Integer id;
private String checkDbName;
private String checkTbName;
private String checkColName;
private String referDbName;
private String referTbName;
private String referColName;
private Long allNum;
private Long matchedNum;
private Double matchedRate;
private String partitionDate;
private Integer sqlId;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCheckDbName() {
return checkDbName;
}
public void setCheckDbName(String checkDbName) {
this.checkDbName = checkDbName == null ? null : checkDbName.trim();
}
public String getCheckTbName() {
return checkTbName;
}
public void setCheckTbName(String checkTbName) {
this.checkTbName = checkTbName == null ? null : checkTbName.trim();
}
public String getCheckColName() {
return checkColName;
}
public void setCheckColName(String checkColName) {
this.checkColName = checkColName == null ? null : checkColName.trim();
}
public String getReferDbName() {
return referDbName;
}
public void setReferDbName(String referDbName) {
this.referDbName = referDbName == null ? null : referDbName.trim();
}
public String getReferTbName() {
return referTbName;
}
public void setReferTbName(String referTbName) {
this.referTbName = referTbName == null ? null : referTbName.trim();
}
public String getReferColName() {
return referColName;
}
public void setReferColName(String referColName) {
this.referColName = referColName == null ? null : referColName.trim();
}
public Long getAllNum() {
return allNum;
}
public void setAllNum(Long allNum) {
this.allNum = allNum;
}
public Long getMatchedNum() {
return matchedNum;
}
public void setMatchedNum(Long matchedNum) {
this.matchedNum = matchedNum;
}
public Double getMatchedRate() {
return matchedRate;
}
public void setMatchedRate(Double matchedRate) {
this.matchedRate = matchedRate;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public Integer getSqlId() {
return sqlId;
}
public void setSqlId(Integer sqlId) {
this.sqlId = sqlId;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.List;
public class TblResultCheckReferCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblResultCheckReferCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCheckDbNameIsNull() {
addCriterion("check_db_name is null");
return (Criteria) this;
}
public Criteria andCheckDbNameIsNotNull() {
addCriterion("check_db_name is not null");
return (Criteria) this;
}
public Criteria andCheckDbNameEqualTo(String value) {
addCriterion("check_db_name =", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotEqualTo(String value) {
addCriterion("check_db_name <>", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameGreaterThan(String value) {
addCriterion("check_db_name >", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameGreaterThanOrEqualTo(String value) {
addCriterion("check_db_name >=", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLessThan(String value) {
addCriterion("check_db_name <", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLessThanOrEqualTo(String value) {
addCriterion("check_db_name <=", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLike(String value) {
addCriterion("check_db_name like", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotLike(String value) {
addCriterion("check_db_name not like", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameIn(List<String> values) {
addCriterion("check_db_name in", values, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotIn(List<String> values) {
addCriterion("check_db_name not in", values, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameBetween(String value1, String value2) {
addCriterion("check_db_name between", value1, value2, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotBetween(String value1, String value2) {
addCriterion("check_db_name not between", value1, value2, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckTbNameIsNull() {
addCriterion("check_tb_name is null");
return (Criteria) this;
}
public Criteria andCheckTbNameIsNotNull() {
addCriterion("check_tb_name is not null");
return (Criteria) this;
}
public Criteria andCheckTbNameEqualTo(String value) {
addCriterion("check_tb_name =", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotEqualTo(String value) {
addCriterion("check_tb_name <>", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameGreaterThan(String value) {
addCriterion("check_tb_name >", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameGreaterThanOrEqualTo(String value) {
addCriterion("check_tb_name >=", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLessThan(String value) {
addCriterion("check_tb_name <", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLessThanOrEqualTo(String value) {
addCriterion("check_tb_name <=", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLike(String value) {
addCriterion("check_tb_name like", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotLike(String value) {
addCriterion("check_tb_name not like", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameIn(List<String> values) {
addCriterion("check_tb_name in", values, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotIn(List<String> values) {
addCriterion("check_tb_name not in", values, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameBetween(String value1, String value2) {
addCriterion("check_tb_name between", value1, value2, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotBetween(String value1, String value2) {
addCriterion("check_tb_name not between", value1, value2, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckColNameIsNull() {
addCriterion("check_col_name is null");
return (Criteria) this;
}
public Criteria andCheckColNameIsNotNull() {
addCriterion("check_col_name is not null");
return (Criteria) this;
}
public Criteria andCheckColNameEqualTo(String value) {
addCriterion("check_col_name =", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotEqualTo(String value) {
addCriterion("check_col_name <>", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameGreaterThan(String value) {
addCriterion("check_col_name >", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameGreaterThanOrEqualTo(String value) {
addCriterion("check_col_name >=", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLessThan(String value) {
addCriterion("check_col_name <", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLessThanOrEqualTo(String value) {
addCriterion("check_col_name <=", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLike(String value) {
addCriterion("check_col_name like", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotLike(String value) {
addCriterion("check_col_name not like", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameIn(List<String> values) {
addCriterion("check_col_name in", values, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotIn(List<String> values) {
addCriterion("check_col_name not in", values, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameBetween(String value1, String value2) {
addCriterion("check_col_name between", value1, value2, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotBetween(String value1, String value2) {
addCriterion("check_col_name not between", value1, value2, "checkColName");
return (Criteria) this;
}
public Criteria andReferDbNameIsNull() {
addCriterion("refer_db_name is null");
return (Criteria) this;
}
public Criteria andReferDbNameIsNotNull() {
addCriterion("refer_db_name is not null");
return (Criteria) this;
}
public Criteria andReferDbNameEqualTo(String value) {
addCriterion("refer_db_name =", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotEqualTo(String value) {
addCriterion("refer_db_name <>", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameGreaterThan(String value) {
addCriterion("refer_db_name >", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_db_name >=", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLessThan(String value) {
addCriterion("refer_db_name <", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLessThanOrEqualTo(String value) {
addCriterion("refer_db_name <=", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLike(String value) {
addCriterion("refer_db_name like", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotLike(String value) {
addCriterion("refer_db_name not like", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameIn(List<String> values) {
addCriterion("refer_db_name in", values, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotIn(List<String> values) {
addCriterion("refer_db_name not in", values, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameBetween(String value1, String value2) {
addCriterion("refer_db_name between", value1, value2, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotBetween(String value1, String value2) {
addCriterion("refer_db_name not between", value1, value2, "referDbName");
return (Criteria) this;
}
public Criteria andReferTbNameIsNull() {
addCriterion("refer_tb_name is null");
return (Criteria) this;
}
public Criteria andReferTbNameIsNotNull() {
addCriterion("refer_tb_name is not null");
return (Criteria) this;
}
public Criteria andReferTbNameEqualTo(String value) {
addCriterion("refer_tb_name =", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotEqualTo(String value) {
addCriterion("refer_tb_name <>", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameGreaterThan(String value) {
addCriterion("refer_tb_name >", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_tb_name >=", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLessThan(String value) {
addCriterion("refer_tb_name <", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLessThanOrEqualTo(String value) {
addCriterion("refer_tb_name <=", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLike(String value) {
addCriterion("refer_tb_name like", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotLike(String value) {
addCriterion("refer_tb_name not like", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameIn(List<String> values) {
addCriterion("refer_tb_name in", values, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotIn(List<String> values) {
addCriterion("refer_tb_name not in", values, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameBetween(String value1, String value2) {
addCriterion("refer_tb_name between", value1, value2, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotBetween(String value1, String value2) {
addCriterion("refer_tb_name not between", value1, value2, "referTbName");
return (Criteria) this;
}
public Criteria andReferColNameIsNull() {
addCriterion("refer_col_name is null");
return (Criteria) this;
}
public Criteria andReferColNameIsNotNull() {
addCriterion("refer_col_name is not null");
return (Criteria) this;
}
public Criteria andReferColNameEqualTo(String value) {
addCriterion("refer_col_name =", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotEqualTo(String value) {
addCriterion("refer_col_name <>", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameGreaterThan(String value) {
addCriterion("refer_col_name >", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_col_name >=", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLessThan(String value) {
addCriterion("refer_col_name <", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLessThanOrEqualTo(String value) {
addCriterion("refer_col_name <=", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLike(String value) {
addCriterion("refer_col_name like", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotLike(String value) {
addCriterion("refer_col_name not like", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameIn(List<String> values) {
addCriterion("refer_col_name in", values, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotIn(List<String> values) {
addCriterion("refer_col_name not in", values, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameBetween(String value1, String value2) {
addCriterion("refer_col_name between", value1, value2, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotBetween(String value1, String value2) {
addCriterion("refer_col_name not between", value1, value2, "referColName");
return (Criteria) this;
}
public Criteria andAllNumIsNull() {
addCriterion("all_num is null");
return (Criteria) this;
}
public Criteria andAllNumIsNotNull() {
addCriterion("all_num is not null");
return (Criteria) this;
}
public Criteria andAllNumEqualTo(Long value) {
addCriterion("all_num =", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotEqualTo(Long value) {
addCriterion("all_num <>", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumGreaterThan(Long value) {
addCriterion("all_num >", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumGreaterThanOrEqualTo(Long value) {
addCriterion("all_num >=", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumLessThan(Long value) {
addCriterion("all_num <", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumLessThanOrEqualTo(Long value) {
addCriterion("all_num <=", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumIn(List<Long> values) {
addCriterion("all_num in", values, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotIn(List<Long> values) {
addCriterion("all_num not in", values, "allNum");
return (Criteria) this;
}
public Criteria andAllNumBetween(Long value1, Long value2) {
addCriterion("all_num between", value1, value2, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotBetween(Long value1, Long value2) {
addCriterion("all_num not between", value1, value2, "allNum");
return (Criteria) this;
}
public Criteria andMatchedNumIsNull() {
addCriterion("matched_num is null");
return (Criteria) this;
}
public Criteria andMatchedNumIsNotNull() {
addCriterion("matched_num is not null");
return (Criteria) this;
}
public Criteria andMatchedNumEqualTo(Long value) {
addCriterion("matched_num =", value, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumNotEqualTo(Long value) {
addCriterion("matched_num <>", value, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumGreaterThan(Long value) {
addCriterion("matched_num >", value, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumGreaterThanOrEqualTo(Long value) {
addCriterion("matched_num >=", value, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumLessThan(Long value) {
addCriterion("matched_num <", value, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumLessThanOrEqualTo(Long value) {
addCriterion("matched_num <=", value, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumIn(List<Long> values) {
addCriterion("matched_num in", values, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumNotIn(List<Long> values) {
addCriterion("matched_num not in", values, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumBetween(Long value1, Long value2) {
addCriterion("matched_num between", value1, value2, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedNumNotBetween(Long value1, Long value2) {
addCriterion("matched_num not between", value1, value2, "matchedNum");
return (Criteria) this;
}
public Criteria andMatchedRateIsNull() {
addCriterion("matched_rate is null");
return (Criteria) this;
}
public Criteria andMatchedRateIsNotNull() {
addCriterion("matched_rate is not null");
return (Criteria) this;
}
public Criteria andMatchedRateEqualTo(Double value) {
addCriterion("matched_rate =", value, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateNotEqualTo(Double value) {
addCriterion("matched_rate <>", value, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateGreaterThan(Double value) {
addCriterion("matched_rate >", value, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateGreaterThanOrEqualTo(Double value) {
addCriterion("matched_rate >=", value, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateLessThan(Double value) {
addCriterion("matched_rate <", value, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateLessThanOrEqualTo(Double value) {
addCriterion("matched_rate <=", value, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateIn(List<Double> values) {
addCriterion("matched_rate in", values, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateNotIn(List<Double> values) {
addCriterion("matched_rate not in", values, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateBetween(Double value1, Double value2) {
addCriterion("matched_rate between", value1, value2, "matchedRate");
return (Criteria) this;
}
public Criteria andMatchedRateNotBetween(Double value1, Double value2) {
addCriterion("matched_rate not between", value1, value2, "matchedRate");
return (Criteria) this;
}
public Criteria andPartitionDateIsNull() {
addCriterion("partition_date is null");
return (Criteria) this;
}
public Criteria andPartitionDateIsNotNull() {
addCriterion("partition_date is not null");
return (Criteria) this;
}
public Criteria andPartitionDateEqualTo(String value) {
addCriterion("partition_date =", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotEqualTo(String value) {
addCriterion("partition_date <>", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThan(String value) {
addCriterion("partition_date >", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThanOrEqualTo(String value) {
addCriterion("partition_date >=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThan(String value) {
addCriterion("partition_date <", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThanOrEqualTo(String value) {
addCriterion("partition_date <=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLike(String value) {
addCriterion("partition_date like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotLike(String value) {
addCriterion("partition_date not like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateIn(List<String> values) {
addCriterion("partition_date in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotIn(List<String> values) {
addCriterion("partition_date not in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateBetween(String value1, String value2) {
addCriterion("partition_date between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotBetween(String value1, String value2) {
addCriterion("partition_date not between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andSqlIdIsNull() {
addCriterion("sql_id is null");
return (Criteria) this;
}
public Criteria andSqlIdIsNotNull() {
addCriterion("sql_id is not null");
return (Criteria) this;
}
public Criteria andSqlIdEqualTo(Integer value) {
addCriterion("sql_id =", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotEqualTo(Integer value) {
addCriterion("sql_id <>", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThan(Integer value) {
addCriterion("sql_id >", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThanOrEqualTo(Integer value) {
addCriterion("sql_id >=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThan(Integer value) {
addCriterion("sql_id <", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThanOrEqualTo(Integer value) {
addCriterion("sql_id <=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdIn(List<Integer> values) {
addCriterion("sql_id in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotIn(List<Integer> values) {
addCriterion("sql_id not in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdBetween(Integer value1, Integer value2) {
addCriterion("sql_id between", value1, value2, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotBetween(Integer value1, Integer value2) {
addCriterion("sql_id not between", value1, value2, "sqlId");
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(String value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(String value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(String value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(String value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(String value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLike(String value) {
addCriterion("create_time like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotLike(String value) {
addCriterion("create_time not like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<String> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<String> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(String value1, String value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(String value1, String 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
package com.gmei.data.dqmp.domain;
public class TblResultCheckUnblank {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private Long allNum;
private Long unblankNum;
private Double unblankRate;
private String partitionDate;
private Integer sqlId;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public Long getAllNum() {
return allNum;
}
public void setAllNum(Long allNum) {
this.allNum = allNum;
}
public Long getUnblankNum() {
return unblankNum;
}
public void setUnblankNum(Long unblankNum) {
this.unblankNum = unblankNum;
}
public Double getUnblankRate() {
return unblankRate;
}
public void setUnblankRate(Double unblankRate) {
this.unblankRate = unblankRate;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public Integer getSqlId() {
return sqlId;
}
public void setSqlId(Integer sqlId) {
this.sqlId = sqlId;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.List;
public class TblResultCheckUnblankCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblResultCheckUnblankCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andColNameIsNull() {
addCriterion("col_name is null");
return (Criteria) this;
}
public Criteria andColNameIsNotNull() {
addCriterion("col_name is not null");
return (Criteria) this;
}
public Criteria andColNameEqualTo(String value) {
addCriterion("col_name =", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotEqualTo(String value) {
addCriterion("col_name <>", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThan(String value) {
addCriterion("col_name >", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThanOrEqualTo(String value) {
addCriterion("col_name >=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThan(String value) {
addCriterion("col_name <", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThanOrEqualTo(String value) {
addCriterion("col_name <=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLike(String value) {
addCriterion("col_name like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotLike(String value) {
addCriterion("col_name not like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameIn(List<String> values) {
addCriterion("col_name in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameNotIn(List<String> values) {
addCriterion("col_name not in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameBetween(String value1, String value2) {
addCriterion("col_name between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andColNameNotBetween(String value1, String value2) {
addCriterion("col_name not between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andAllNumIsNull() {
addCriterion("all_num is null");
return (Criteria) this;
}
public Criteria andAllNumIsNotNull() {
addCriterion("all_num is not null");
return (Criteria) this;
}
public Criteria andAllNumEqualTo(Long value) {
addCriterion("all_num =", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotEqualTo(Long value) {
addCriterion("all_num <>", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumGreaterThan(Long value) {
addCriterion("all_num >", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumGreaterThanOrEqualTo(Long value) {
addCriterion("all_num >=", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumLessThan(Long value) {
addCriterion("all_num <", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumLessThanOrEqualTo(Long value) {
addCriterion("all_num <=", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumIn(List<Long> values) {
addCriterion("all_num in", values, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotIn(List<Long> values) {
addCriterion("all_num not in", values, "allNum");
return (Criteria) this;
}
public Criteria andAllNumBetween(Long value1, Long value2) {
addCriterion("all_num between", value1, value2, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotBetween(Long value1, Long value2) {
addCriterion("all_num not between", value1, value2, "allNum");
return (Criteria) this;
}
public Criteria andUnblankNumIsNull() {
addCriterion("unblank_num is null");
return (Criteria) this;
}
public Criteria andUnblankNumIsNotNull() {
addCriterion("unblank_num is not null");
return (Criteria) this;
}
public Criteria andUnblankNumEqualTo(Long value) {
addCriterion("unblank_num =", value, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumNotEqualTo(Long value) {
addCriterion("unblank_num <>", value, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumGreaterThan(Long value) {
addCriterion("unblank_num >", value, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumGreaterThanOrEqualTo(Long value) {
addCriterion("unblank_num >=", value, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumLessThan(Long value) {
addCriterion("unblank_num <", value, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumLessThanOrEqualTo(Long value) {
addCriterion("unblank_num <=", value, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumIn(List<Long> values) {
addCriterion("unblank_num in", values, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumNotIn(List<Long> values) {
addCriterion("unblank_num not in", values, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumBetween(Long value1, Long value2) {
addCriterion("unblank_num between", value1, value2, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankNumNotBetween(Long value1, Long value2) {
addCriterion("unblank_num not between", value1, value2, "unblankNum");
return (Criteria) this;
}
public Criteria andUnblankRateIsNull() {
addCriterion("unblank_rate is null");
return (Criteria) this;
}
public Criteria andUnblankRateIsNotNull() {
addCriterion("unblank_rate is not null");
return (Criteria) this;
}
public Criteria andUnblankRateEqualTo(Double value) {
addCriterion("unblank_rate =", value, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateNotEqualTo(Double value) {
addCriterion("unblank_rate <>", value, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateGreaterThan(Double value) {
addCriterion("unblank_rate >", value, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateGreaterThanOrEqualTo(Double value) {
addCriterion("unblank_rate >=", value, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateLessThan(Double value) {
addCriterion("unblank_rate <", value, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateLessThanOrEqualTo(Double value) {
addCriterion("unblank_rate <=", value, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateIn(List<Double> values) {
addCriterion("unblank_rate in", values, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateNotIn(List<Double> values) {
addCriterion("unblank_rate not in", values, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateBetween(Double value1, Double value2) {
addCriterion("unblank_rate between", value1, value2, "unblankRate");
return (Criteria) this;
}
public Criteria andUnblankRateNotBetween(Double value1, Double value2) {
addCriterion("unblank_rate not between", value1, value2, "unblankRate");
return (Criteria) this;
}
public Criteria andPartitionDateIsNull() {
addCriterion("partition_date is null");
return (Criteria) this;
}
public Criteria andPartitionDateIsNotNull() {
addCriterion("partition_date is not null");
return (Criteria) this;
}
public Criteria andPartitionDateEqualTo(String value) {
addCriterion("partition_date =", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotEqualTo(String value) {
addCriterion("partition_date <>", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThan(String value) {
addCriterion("partition_date >", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThanOrEqualTo(String value) {
addCriterion("partition_date >=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThan(String value) {
addCriterion("partition_date <", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThanOrEqualTo(String value) {
addCriterion("partition_date <=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLike(String value) {
addCriterion("partition_date like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotLike(String value) {
addCriterion("partition_date not like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateIn(List<String> values) {
addCriterion("partition_date in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotIn(List<String> values) {
addCriterion("partition_date not in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateBetween(String value1, String value2) {
addCriterion("partition_date between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotBetween(String value1, String value2) {
addCriterion("partition_date not between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andSqlIdIsNull() {
addCriterion("sql_id is null");
return (Criteria) this;
}
public Criteria andSqlIdIsNotNull() {
addCriterion("sql_id is not null");
return (Criteria) this;
}
public Criteria andSqlIdEqualTo(Integer value) {
addCriterion("sql_id =", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotEqualTo(Integer value) {
addCriterion("sql_id <>", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThan(Integer value) {
addCriterion("sql_id >", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThanOrEqualTo(Integer value) {
addCriterion("sql_id >=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThan(Integer value) {
addCriterion("sql_id <", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThanOrEqualTo(Integer value) {
addCriterion("sql_id <=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdIn(List<Integer> values) {
addCriterion("sql_id in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotIn(List<Integer> values) {
addCriterion("sql_id not in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdBetween(Integer value1, Integer value2) {
addCriterion("sql_id between", value1, value2, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotBetween(Integer value1, Integer value2) {
addCriterion("sql_id not between", value1, value2, "sqlId");
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(String value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(String value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(String value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(String value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(String value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLike(String value) {
addCriterion("create_time like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotLike(String value) {
addCriterion("create_time not like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<String> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<String> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(String value1, String value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(String value1, String 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
package com.gmei.data.dqmp.domain;
public class TblResultCheckUnique {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private Long allNum;
private Long uniqueNum;
private Double uniqueRate;
private String partitionDate;
private Integer sqlId;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public Long getAllNum() {
return allNum;
}
public void setAllNum(Long allNum) {
this.allNum = allNum;
}
public Long getUniqueNum() {
return uniqueNum;
}
public void setUniqueNum(Long uniqueNum) {
this.uniqueNum = uniqueNum;
}
public Double getUniqueRate() {
return uniqueRate;
}
public void setUniqueRate(Double uniqueRate) {
this.uniqueRate = uniqueRate;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public Integer getSqlId() {
return sqlId;
}
public void setSqlId(Integer sqlId) {
this.sqlId = sqlId;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.List;
public class TblResultCheckUniqueCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblResultCheckUniqueCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andColNameIsNull() {
addCriterion("col_name is null");
return (Criteria) this;
}
public Criteria andColNameIsNotNull() {
addCriterion("col_name is not null");
return (Criteria) this;
}
public Criteria andColNameEqualTo(String value) {
addCriterion("col_name =", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotEqualTo(String value) {
addCriterion("col_name <>", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThan(String value) {
addCriterion("col_name >", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThanOrEqualTo(String value) {
addCriterion("col_name >=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThan(String value) {
addCriterion("col_name <", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThanOrEqualTo(String value) {
addCriterion("col_name <=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLike(String value) {
addCriterion("col_name like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotLike(String value) {
addCriterion("col_name not like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameIn(List<String> values) {
addCriterion("col_name in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameNotIn(List<String> values) {
addCriterion("col_name not in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameBetween(String value1, String value2) {
addCriterion("col_name between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andColNameNotBetween(String value1, String value2) {
addCriterion("col_name not between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andAllNumIsNull() {
addCriterion("all_num is null");
return (Criteria) this;
}
public Criteria andAllNumIsNotNull() {
addCriterion("all_num is not null");
return (Criteria) this;
}
public Criteria andAllNumEqualTo(Long value) {
addCriterion("all_num =", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotEqualTo(Long value) {
addCriterion("all_num <>", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumGreaterThan(Long value) {
addCriterion("all_num >", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumGreaterThanOrEqualTo(Long value) {
addCriterion("all_num >=", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumLessThan(Long value) {
addCriterion("all_num <", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumLessThanOrEqualTo(Long value) {
addCriterion("all_num <=", value, "allNum");
return (Criteria) this;
}
public Criteria andAllNumIn(List<Long> values) {
addCriterion("all_num in", values, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotIn(List<Long> values) {
addCriterion("all_num not in", values, "allNum");
return (Criteria) this;
}
public Criteria andAllNumBetween(Long value1, Long value2) {
addCriterion("all_num between", value1, value2, "allNum");
return (Criteria) this;
}
public Criteria andAllNumNotBetween(Long value1, Long value2) {
addCriterion("all_num not between", value1, value2, "allNum");
return (Criteria) this;
}
public Criteria andUniqueNumIsNull() {
addCriterion("unique_num is null");
return (Criteria) this;
}
public Criteria andUniqueNumIsNotNull() {
addCriterion("unique_num is not null");
return (Criteria) this;
}
public Criteria andUniqueNumEqualTo(Long value) {
addCriterion("unique_num =", value, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumNotEqualTo(Long value) {
addCriterion("unique_num <>", value, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumGreaterThan(Long value) {
addCriterion("unique_num >", value, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumGreaterThanOrEqualTo(Long value) {
addCriterion("unique_num >=", value, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumLessThan(Long value) {
addCriterion("unique_num <", value, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumLessThanOrEqualTo(Long value) {
addCriterion("unique_num <=", value, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumIn(List<Long> values) {
addCriterion("unique_num in", values, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumNotIn(List<Long> values) {
addCriterion("unique_num not in", values, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumBetween(Long value1, Long value2) {
addCriterion("unique_num between", value1, value2, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueNumNotBetween(Long value1, Long value2) {
addCriterion("unique_num not between", value1, value2, "uniqueNum");
return (Criteria) this;
}
public Criteria andUniqueRateIsNull() {
addCriterion("unique_rate is null");
return (Criteria) this;
}
public Criteria andUniqueRateIsNotNull() {
addCriterion("unique_rate is not null");
return (Criteria) this;
}
public Criteria andUniqueRateEqualTo(Double value) {
addCriterion("unique_rate =", value, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateNotEqualTo(Double value) {
addCriterion("unique_rate <>", value, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateGreaterThan(Double value) {
addCriterion("unique_rate >", value, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateGreaterThanOrEqualTo(Double value) {
addCriterion("unique_rate >=", value, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateLessThan(Double value) {
addCriterion("unique_rate <", value, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateLessThanOrEqualTo(Double value) {
addCriterion("unique_rate <=", value, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateIn(List<Double> values) {
addCriterion("unique_rate in", values, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateNotIn(List<Double> values) {
addCriterion("unique_rate not in", values, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateBetween(Double value1, Double value2) {
addCriterion("unique_rate between", value1, value2, "uniqueRate");
return (Criteria) this;
}
public Criteria andUniqueRateNotBetween(Double value1, Double value2) {
addCriterion("unique_rate not between", value1, value2, "uniqueRate");
return (Criteria) this;
}
public Criteria andPartitionDateIsNull() {
addCriterion("partition_date is null");
return (Criteria) this;
}
public Criteria andPartitionDateIsNotNull() {
addCriterion("partition_date is not null");
return (Criteria) this;
}
public Criteria andPartitionDateEqualTo(String value) {
addCriterion("partition_date =", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotEqualTo(String value) {
addCriterion("partition_date <>", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThan(String value) {
addCriterion("partition_date >", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThanOrEqualTo(String value) {
addCriterion("partition_date >=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThan(String value) {
addCriterion("partition_date <", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThanOrEqualTo(String value) {
addCriterion("partition_date <=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLike(String value) {
addCriterion("partition_date like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotLike(String value) {
addCriterion("partition_date not like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateIn(List<String> values) {
addCriterion("partition_date in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotIn(List<String> values) {
addCriterion("partition_date not in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateBetween(String value1, String value2) {
addCriterion("partition_date between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotBetween(String value1, String value2) {
addCriterion("partition_date not between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andSqlIdIsNull() {
addCriterion("sql_id is null");
return (Criteria) this;
}
public Criteria andSqlIdIsNotNull() {
addCriterion("sql_id is not null");
return (Criteria) this;
}
public Criteria andSqlIdEqualTo(Integer value) {
addCriterion("sql_id =", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotEqualTo(Integer value) {
addCriterion("sql_id <>", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThan(Integer value) {
addCriterion("sql_id >", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThanOrEqualTo(Integer value) {
addCriterion("sql_id >=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThan(Integer value) {
addCriterion("sql_id <", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThanOrEqualTo(Integer value) {
addCriterion("sql_id <=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdIn(List<Integer> values) {
addCriterion("sql_id in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotIn(List<Integer> values) {
addCriterion("sql_id not in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdBetween(Integer value1, Integer value2) {
addCriterion("sql_id between", value1, value2, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotBetween(Integer value1, Integer value2) {
addCriterion("sql_id not between", value1, value2, "sqlId");
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(String value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(String value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(String value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(String value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(String value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLike(String value) {
addCriterion("create_time like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotLike(String value) {
addCriterion("create_time not like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<String> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<String> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(String value1, String value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(String value1, String 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
package com.gmei.data.dqmp.domain;
public class TblResultMonitorSpecial {
private Integer id;
private String dbName;
private String tbName;
private String timeColName;
private String indicatorType;
private Long indicatorValue;
private String startTime;
private String partitionDate;
private Integer sqlId;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getTimeColName() {
return timeColName;
}
public void setTimeColName(String timeColName) {
this.timeColName = timeColName == null ? null : timeColName.trim();
}
public String getIndicatorType() {
return indicatorType;
}
public void setIndicatorType(String indicatorType) {
this.indicatorType = indicatorType == null ? null : indicatorType.trim();
}
public Long getIndicatorValue() {
return indicatorValue;
}
public void setIndicatorValue(Long indicatorValue) {
this.indicatorValue = indicatorValue;
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime == null ? null : startTime.trim();
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public Integer getSqlId() {
return sqlId;
}
public void setSqlId(Integer sqlId) {
this.sqlId = sqlId;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.List;
public class TblResultMonitorSpecialCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblResultMonitorSpecialCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTimeColNameIsNull() {
addCriterion("time_col_name is null");
return (Criteria) this;
}
public Criteria andTimeColNameIsNotNull() {
addCriterion("time_col_name is not null");
return (Criteria) this;
}
public Criteria andTimeColNameEqualTo(String value) {
addCriterion("time_col_name =", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotEqualTo(String value) {
addCriterion("time_col_name <>", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameGreaterThan(String value) {
addCriterion("time_col_name >", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameGreaterThanOrEqualTo(String value) {
addCriterion("time_col_name >=", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLessThan(String value) {
addCriterion("time_col_name <", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLessThanOrEqualTo(String value) {
addCriterion("time_col_name <=", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLike(String value) {
addCriterion("time_col_name like", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotLike(String value) {
addCriterion("time_col_name not like", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameIn(List<String> values) {
addCriterion("time_col_name in", values, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotIn(List<String> values) {
addCriterion("time_col_name not in", values, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameBetween(String value1, String value2) {
addCriterion("time_col_name between", value1, value2, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotBetween(String value1, String value2) {
addCriterion("time_col_name not between", value1, value2, "timeColName");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNull() {
addCriterion("indicator_type is null");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNotNull() {
addCriterion("indicator_type is not null");
return (Criteria) this;
}
public Criteria andIndicatorTypeEqualTo(String value) {
addCriterion("indicator_type =", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotEqualTo(String value) {
addCriterion("indicator_type <>", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThan(String value) {
addCriterion("indicator_type >", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThanOrEqualTo(String value) {
addCriterion("indicator_type >=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThan(String value) {
addCriterion("indicator_type <", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThanOrEqualTo(String value) {
addCriterion("indicator_type <=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLike(String value) {
addCriterion("indicator_type like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotLike(String value) {
addCriterion("indicator_type not like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeIn(List<String> values) {
addCriterion("indicator_type in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotIn(List<String> values) {
addCriterion("indicator_type not in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeBetween(String value1, String value2) {
addCriterion("indicator_type between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotBetween(String value1, String value2) {
addCriterion("indicator_type not between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorValueIsNull() {
addCriterion("indicator_value is null");
return (Criteria) this;
}
public Criteria andIndicatorValueIsNotNull() {
addCriterion("indicator_value is not null");
return (Criteria) this;
}
public Criteria andIndicatorValueEqualTo(Long value) {
addCriterion("indicator_value =", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueNotEqualTo(Long value) {
addCriterion("indicator_value <>", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueGreaterThan(Long value) {
addCriterion("indicator_value >", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueGreaterThanOrEqualTo(Long value) {
addCriterion("indicator_value >=", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueLessThan(Long value) {
addCriterion("indicator_value <", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueLessThanOrEqualTo(Long value) {
addCriterion("indicator_value <=", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueIn(List<Long> values) {
addCriterion("indicator_value in", values, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueNotIn(List<Long> values) {
addCriterion("indicator_value not in", values, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueBetween(Long value1, Long value2) {
addCriterion("indicator_value between", value1, value2, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueNotBetween(Long value1, Long value2) {
addCriterion("indicator_value not between", value1, value2, "indicatorValue");
return (Criteria) this;
}
public Criteria andStartTimeIsNull() {
addCriterion("start_time is null");
return (Criteria) this;
}
public Criteria andStartTimeIsNotNull() {
addCriterion("start_time is not null");
return (Criteria) this;
}
public Criteria andStartTimeEqualTo(String value) {
addCriterion("start_time =", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotEqualTo(String value) {
addCriterion("start_time <>", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThan(String value) {
addCriterion("start_time >", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThanOrEqualTo(String value) {
addCriterion("start_time >=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThan(String value) {
addCriterion("start_time <", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThanOrEqualTo(String value) {
addCriterion("start_time <=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLike(String value) {
addCriterion("start_time like", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotLike(String value) {
addCriterion("start_time not like", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeIn(List<String> values) {
addCriterion("start_time in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotIn(List<String> values) {
addCriterion("start_time not in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeBetween(String value1, String value2) {
addCriterion("start_time between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotBetween(String value1, String value2) {
addCriterion("start_time not between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andPartitionDateIsNull() {
addCriterion("partition_date is null");
return (Criteria) this;
}
public Criteria andPartitionDateIsNotNull() {
addCriterion("partition_date is not null");
return (Criteria) this;
}
public Criteria andPartitionDateEqualTo(String value) {
addCriterion("partition_date =", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotEqualTo(String value) {
addCriterion("partition_date <>", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThan(String value) {
addCriterion("partition_date >", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThanOrEqualTo(String value) {
addCriterion("partition_date >=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThan(String value) {
addCriterion("partition_date <", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThanOrEqualTo(String value) {
addCriterion("partition_date <=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLike(String value) {
addCriterion("partition_date like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotLike(String value) {
addCriterion("partition_date not like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateIn(List<String> values) {
addCriterion("partition_date in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotIn(List<String> values) {
addCriterion("partition_date not in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateBetween(String value1, String value2) {
addCriterion("partition_date between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotBetween(String value1, String value2) {
addCriterion("partition_date not between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andSqlIdIsNull() {
addCriterion("sql_id is null");
return (Criteria) this;
}
public Criteria andSqlIdIsNotNull() {
addCriterion("sql_id is not null");
return (Criteria) this;
}
public Criteria andSqlIdEqualTo(Integer value) {
addCriterion("sql_id =", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotEqualTo(Integer value) {
addCriterion("sql_id <>", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThan(Integer value) {
addCriterion("sql_id >", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThanOrEqualTo(Integer value) {
addCriterion("sql_id >=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThan(Integer value) {
addCriterion("sql_id <", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThanOrEqualTo(Integer value) {
addCriterion("sql_id <=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdIn(List<Integer> values) {
addCriterion("sql_id in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotIn(List<Integer> values) {
addCriterion("sql_id not in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdBetween(Integer value1, Integer value2) {
addCriterion("sql_id between", value1, value2, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotBetween(Integer value1, Integer value2) {
addCriterion("sql_id not between", value1, value2, "sqlId");
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(String value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(String value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(String value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(String value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(String value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLike(String value) {
addCriterion("create_time like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotLike(String value) {
addCriterion("create_time not like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<String> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<String> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(String value1, String value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(String value1, String 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
package com.gmei.data.dqmp.domain;
public class TblResultMonitorVolatility {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private String indicatorType;
private Long indicatorValue;
private String partitionDate;
private Integer sqlId;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public String getIndicatorType() {
return indicatorType;
}
public void setIndicatorType(String indicatorType) {
this.indicatorType = indicatorType == null ? null : indicatorType.trim();
}
public Long getIndicatorValue() {
return indicatorValue;
}
public void setIndicatorValue(Long indicatorValue) {
this.indicatorValue = indicatorValue;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public Integer getSqlId() {
return sqlId;
}
public void setSqlId(Integer sqlId) {
this.sqlId = sqlId;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.List;
public class TblResultMonitorVolatilityCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblResultMonitorVolatilityCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andColNameIsNull() {
addCriterion("col_name is null");
return (Criteria) this;
}
public Criteria andColNameIsNotNull() {
addCriterion("col_name is not null");
return (Criteria) this;
}
public Criteria andColNameEqualTo(String value) {
addCriterion("col_name =", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotEqualTo(String value) {
addCriterion("col_name <>", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThan(String value) {
addCriterion("col_name >", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThanOrEqualTo(String value) {
addCriterion("col_name >=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThan(String value) {
addCriterion("col_name <", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThanOrEqualTo(String value) {
addCriterion("col_name <=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLike(String value) {
addCriterion("col_name like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotLike(String value) {
addCriterion("col_name not like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameIn(List<String> values) {
addCriterion("col_name in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameNotIn(List<String> values) {
addCriterion("col_name not in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameBetween(String value1, String value2) {
addCriterion("col_name between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andColNameNotBetween(String value1, String value2) {
addCriterion("col_name not between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNull() {
addCriterion("indicator_type is null");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNotNull() {
addCriterion("indicator_type is not null");
return (Criteria) this;
}
public Criteria andIndicatorTypeEqualTo(String value) {
addCriterion("indicator_type =", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotEqualTo(String value) {
addCriterion("indicator_type <>", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThan(String value) {
addCriterion("indicator_type >", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThanOrEqualTo(String value) {
addCriterion("indicator_type >=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThan(String value) {
addCriterion("indicator_type <", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThanOrEqualTo(String value) {
addCriterion("indicator_type <=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLike(String value) {
addCriterion("indicator_type like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotLike(String value) {
addCriterion("indicator_type not like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeIn(List<String> values) {
addCriterion("indicator_type in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotIn(List<String> values) {
addCriterion("indicator_type not in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeBetween(String value1, String value2) {
addCriterion("indicator_type between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotBetween(String value1, String value2) {
addCriterion("indicator_type not between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorValueIsNull() {
addCriterion("indicator_value is null");
return (Criteria) this;
}
public Criteria andIndicatorValueIsNotNull() {
addCriterion("indicator_value is not null");
return (Criteria) this;
}
public Criteria andIndicatorValueEqualTo(Long value) {
addCriterion("indicator_value =", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueNotEqualTo(Long value) {
addCriterion("indicator_value <>", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueGreaterThan(Long value) {
addCriterion("indicator_value >", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueGreaterThanOrEqualTo(Long value) {
addCriterion("indicator_value >=", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueLessThan(Long value) {
addCriterion("indicator_value <", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueLessThanOrEqualTo(Long value) {
addCriterion("indicator_value <=", value, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueIn(List<Long> values) {
addCriterion("indicator_value in", values, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueNotIn(List<Long> values) {
addCriterion("indicator_value not in", values, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueBetween(Long value1, Long value2) {
addCriterion("indicator_value between", value1, value2, "indicatorValue");
return (Criteria) this;
}
public Criteria andIndicatorValueNotBetween(Long value1, Long value2) {
addCriterion("indicator_value not between", value1, value2, "indicatorValue");
return (Criteria) this;
}
public Criteria andPartitionDateIsNull() {
addCriterion("partition_date is null");
return (Criteria) this;
}
public Criteria andPartitionDateIsNotNull() {
addCriterion("partition_date is not null");
return (Criteria) this;
}
public Criteria andPartitionDateEqualTo(String value) {
addCriterion("partition_date =", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotEqualTo(String value) {
addCriterion("partition_date <>", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThan(String value) {
addCriterion("partition_date >", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateGreaterThanOrEqualTo(String value) {
addCriterion("partition_date >=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThan(String value) {
addCriterion("partition_date <", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLessThanOrEqualTo(String value) {
addCriterion("partition_date <=", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateLike(String value) {
addCriterion("partition_date like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotLike(String value) {
addCriterion("partition_date not like", value, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateIn(List<String> values) {
addCriterion("partition_date in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotIn(List<String> values) {
addCriterion("partition_date not in", values, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateBetween(String value1, String value2) {
addCriterion("partition_date between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andPartitionDateNotBetween(String value1, String value2) {
addCriterion("partition_date not between", value1, value2, "partitionDate");
return (Criteria) this;
}
public Criteria andSqlIdIsNull() {
addCriterion("sql_id is null");
return (Criteria) this;
}
public Criteria andSqlIdIsNotNull() {
addCriterion("sql_id is not null");
return (Criteria) this;
}
public Criteria andSqlIdEqualTo(Integer value) {
addCriterion("sql_id =", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotEqualTo(Integer value) {
addCriterion("sql_id <>", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThan(Integer value) {
addCriterion("sql_id >", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdGreaterThanOrEqualTo(Integer value) {
addCriterion("sql_id >=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThan(Integer value) {
addCriterion("sql_id <", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdLessThanOrEqualTo(Integer value) {
addCriterion("sql_id <=", value, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdIn(List<Integer> values) {
addCriterion("sql_id in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotIn(List<Integer> values) {
addCriterion("sql_id not in", values, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdBetween(Integer value1, Integer value2) {
addCriterion("sql_id between", value1, value2, "sqlId");
return (Criteria) this;
}
public Criteria andSqlIdNotBetween(Integer value1, Integer value2) {
addCriterion("sql_id not between", value1, value2, "sqlId");
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(String value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(String value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(String value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(String value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(String value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLike(String value) {
addCriterion("create_time like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotLike(String value) {
addCriterion("create_time not like", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<String> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<String> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(String value1, String value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(String value1, String 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
package com.gmei.data.dqmp.domain;
import java.util.Date;
public class TblRuleInfoDuplex {
private Integer id;
private String checkType;
private String checkDbName;
private String checkTbName;
private String checkColName;
private String referDbName;
private String referTbName;
private String referColName;
private Integer isValid;
private String checkTime;
private String comment;
private Date createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCheckType() {
return checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType == null ? null : checkType.trim();
}
public String getCheckDbName() {
return checkDbName;
}
public void setCheckDbName(String checkDbName) {
this.checkDbName = checkDbName == null ? null : checkDbName.trim();
}
public String getCheckTbName() {
return checkTbName;
}
public void setCheckTbName(String checkTbName) {
this.checkTbName = checkTbName == null ? null : checkTbName.trim();
}
public String getCheckColName() {
return checkColName;
}
public void setCheckColName(String checkColName) {
this.checkColName = checkColName == null ? null : checkColName.trim();
}
public String getReferDbName() {
return referDbName;
}
public void setReferDbName(String referDbName) {
this.referDbName = referDbName == null ? null : referDbName.trim();
}
public String getReferTbName() {
return referTbName;
}
public void setReferTbName(String referTbName) {
this.referTbName = referTbName == null ? null : referTbName.trim();
}
public String getReferColName() {
return referColName;
}
public void setReferColName(String referColName) {
this.referColName = referColName == null ? null : referColName.trim();
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public String getCheckTime() {
return checkTime;
}
public void setCheckTime(String checkTime) {
this.checkTime = checkTime == null ? null : checkTime.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TblRuleInfoDuplexCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblRuleInfoDuplexCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCheckTypeIsNull() {
addCriterion("check_type is null");
return (Criteria) this;
}
public Criteria andCheckTypeIsNotNull() {
addCriterion("check_type is not null");
return (Criteria) this;
}
public Criteria andCheckTypeEqualTo(String value) {
addCriterion("check_type =", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotEqualTo(String value) {
addCriterion("check_type <>", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThan(String value) {
addCriterion("check_type >", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThanOrEqualTo(String value) {
addCriterion("check_type >=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThan(String value) {
addCriterion("check_type <", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThanOrEqualTo(String value) {
addCriterion("check_type <=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLike(String value) {
addCriterion("check_type like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotLike(String value) {
addCriterion("check_type not like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeIn(List<String> values) {
addCriterion("check_type in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotIn(List<String> values) {
addCriterion("check_type not in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeBetween(String value1, String value2) {
addCriterion("check_type between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotBetween(String value1, String value2) {
addCriterion("check_type not between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andCheckDbNameIsNull() {
addCriterion("check_db_name is null");
return (Criteria) this;
}
public Criteria andCheckDbNameIsNotNull() {
addCriterion("check_db_name is not null");
return (Criteria) this;
}
public Criteria andCheckDbNameEqualTo(String value) {
addCriterion("check_db_name =", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotEqualTo(String value) {
addCriterion("check_db_name <>", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameGreaterThan(String value) {
addCriterion("check_db_name >", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameGreaterThanOrEqualTo(String value) {
addCriterion("check_db_name >=", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLessThan(String value) {
addCriterion("check_db_name <", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLessThanOrEqualTo(String value) {
addCriterion("check_db_name <=", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLike(String value) {
addCriterion("check_db_name like", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotLike(String value) {
addCriterion("check_db_name not like", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameIn(List<String> values) {
addCriterion("check_db_name in", values, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotIn(List<String> values) {
addCriterion("check_db_name not in", values, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameBetween(String value1, String value2) {
addCriterion("check_db_name between", value1, value2, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotBetween(String value1, String value2) {
addCriterion("check_db_name not between", value1, value2, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckTbNameIsNull() {
addCriterion("check_tb_name is null");
return (Criteria) this;
}
public Criteria andCheckTbNameIsNotNull() {
addCriterion("check_tb_name is not null");
return (Criteria) this;
}
public Criteria andCheckTbNameEqualTo(String value) {
addCriterion("check_tb_name =", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotEqualTo(String value) {
addCriterion("check_tb_name <>", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameGreaterThan(String value) {
addCriterion("check_tb_name >", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameGreaterThanOrEqualTo(String value) {
addCriterion("check_tb_name >=", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLessThan(String value) {
addCriterion("check_tb_name <", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLessThanOrEqualTo(String value) {
addCriterion("check_tb_name <=", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLike(String value) {
addCriterion("check_tb_name like", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotLike(String value) {
addCriterion("check_tb_name not like", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameIn(List<String> values) {
addCriterion("check_tb_name in", values, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotIn(List<String> values) {
addCriterion("check_tb_name not in", values, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameBetween(String value1, String value2) {
addCriterion("check_tb_name between", value1, value2, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotBetween(String value1, String value2) {
addCriterion("check_tb_name not between", value1, value2, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckColNameIsNull() {
addCriterion("check_col_name is null");
return (Criteria) this;
}
public Criteria andCheckColNameIsNotNull() {
addCriterion("check_col_name is not null");
return (Criteria) this;
}
public Criteria andCheckColNameEqualTo(String value) {
addCriterion("check_col_name =", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotEqualTo(String value) {
addCriterion("check_col_name <>", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameGreaterThan(String value) {
addCriterion("check_col_name >", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameGreaterThanOrEqualTo(String value) {
addCriterion("check_col_name >=", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLessThan(String value) {
addCriterion("check_col_name <", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLessThanOrEqualTo(String value) {
addCriterion("check_col_name <=", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLike(String value) {
addCriterion("check_col_name like", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotLike(String value) {
addCriterion("check_col_name not like", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameIn(List<String> values) {
addCriterion("check_col_name in", values, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotIn(List<String> values) {
addCriterion("check_col_name not in", values, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameBetween(String value1, String value2) {
addCriterion("check_col_name between", value1, value2, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotBetween(String value1, String value2) {
addCriterion("check_col_name not between", value1, value2, "checkColName");
return (Criteria) this;
}
public Criteria andReferDbNameIsNull() {
addCriterion("refer_db_name is null");
return (Criteria) this;
}
public Criteria andReferDbNameIsNotNull() {
addCriterion("refer_db_name is not null");
return (Criteria) this;
}
public Criteria andReferDbNameEqualTo(String value) {
addCriterion("refer_db_name =", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotEqualTo(String value) {
addCriterion("refer_db_name <>", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameGreaterThan(String value) {
addCriterion("refer_db_name >", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_db_name >=", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLessThan(String value) {
addCriterion("refer_db_name <", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLessThanOrEqualTo(String value) {
addCriterion("refer_db_name <=", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLike(String value) {
addCriterion("refer_db_name like", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotLike(String value) {
addCriterion("refer_db_name not like", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameIn(List<String> values) {
addCriterion("refer_db_name in", values, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotIn(List<String> values) {
addCriterion("refer_db_name not in", values, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameBetween(String value1, String value2) {
addCriterion("refer_db_name between", value1, value2, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotBetween(String value1, String value2) {
addCriterion("refer_db_name not between", value1, value2, "referDbName");
return (Criteria) this;
}
public Criteria andReferTbNameIsNull() {
addCriterion("refer_tb_name is null");
return (Criteria) this;
}
public Criteria andReferTbNameIsNotNull() {
addCriterion("refer_tb_name is not null");
return (Criteria) this;
}
public Criteria andReferTbNameEqualTo(String value) {
addCriterion("refer_tb_name =", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotEqualTo(String value) {
addCriterion("refer_tb_name <>", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameGreaterThan(String value) {
addCriterion("refer_tb_name >", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_tb_name >=", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLessThan(String value) {
addCriterion("refer_tb_name <", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLessThanOrEqualTo(String value) {
addCriterion("refer_tb_name <=", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLike(String value) {
addCriterion("refer_tb_name like", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotLike(String value) {
addCriterion("refer_tb_name not like", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameIn(List<String> values) {
addCriterion("refer_tb_name in", values, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotIn(List<String> values) {
addCriterion("refer_tb_name not in", values, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameBetween(String value1, String value2) {
addCriterion("refer_tb_name between", value1, value2, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotBetween(String value1, String value2) {
addCriterion("refer_tb_name not between", value1, value2, "referTbName");
return (Criteria) this;
}
public Criteria andReferColNameIsNull() {
addCriterion("refer_col_name is null");
return (Criteria) this;
}
public Criteria andReferColNameIsNotNull() {
addCriterion("refer_col_name is not null");
return (Criteria) this;
}
public Criteria andReferColNameEqualTo(String value) {
addCriterion("refer_col_name =", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotEqualTo(String value) {
addCriterion("refer_col_name <>", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameGreaterThan(String value) {
addCriterion("refer_col_name >", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_col_name >=", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLessThan(String value) {
addCriterion("refer_col_name <", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLessThanOrEqualTo(String value) {
addCriterion("refer_col_name <=", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLike(String value) {
addCriterion("refer_col_name like", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotLike(String value) {
addCriterion("refer_col_name not like", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameIn(List<String> values) {
addCriterion("refer_col_name in", values, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotIn(List<String> values) {
addCriterion("refer_col_name not in", values, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameBetween(String value1, String value2) {
addCriterion("refer_col_name between", value1, value2, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotBetween(String value1, String value2) {
addCriterion("refer_col_name not between", value1, value2, "referColName");
return (Criteria) this;
}
public Criteria andIsValidIsNull() {
addCriterion("is_valid is null");
return (Criteria) this;
}
public Criteria andIsValidIsNotNull() {
addCriterion("is_valid is not null");
return (Criteria) this;
}
public Criteria andIsValidEqualTo(Integer value) {
addCriterion("is_valid =", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotEqualTo(Integer value) {
addCriterion("is_valid <>", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThan(Integer value) {
addCriterion("is_valid >", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
addCriterion("is_valid >=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThan(Integer value) {
addCriterion("is_valid <", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThanOrEqualTo(Integer value) {
addCriterion("is_valid <=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidIn(List<Integer> values) {
addCriterion("is_valid in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotIn(List<Integer> values) {
addCriterion("is_valid not in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidBetween(Integer value1, Integer value2) {
addCriterion("is_valid between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
addCriterion("is_valid not between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andCheckTimeIsNull() {
addCriterion("check_time is null");
return (Criteria) this;
}
public Criteria andCheckTimeIsNotNull() {
addCriterion("check_time is not null");
return (Criteria) this;
}
public Criteria andCheckTimeEqualTo(String value) {
addCriterion("check_time =", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotEqualTo(String value) {
addCriterion("check_time <>", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThan(String value) {
addCriterion("check_time >", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
addCriterion("check_time >=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThan(String value) {
addCriterion("check_time <", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThanOrEqualTo(String value) {
addCriterion("check_time <=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLike(String value) {
addCriterion("check_time like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotLike(String value) {
addCriterion("check_time not like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeIn(List<String> values) {
addCriterion("check_time in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotIn(List<String> values) {
addCriterion("check_time not in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeBetween(String value1, String value2) {
addCriterion("check_time between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotBetween(String value1, String value2) {
addCriterion("check_time not between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCommentIsNull() {
addCriterion("comment is null");
return (Criteria) this;
}
public Criteria andCommentIsNotNull() {
addCriterion("comment is not null");
return (Criteria) this;
}
public Criteria andCommentEqualTo(String value) {
addCriterion("comment =", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotEqualTo(String value) {
addCriterion("comment <>", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThan(String value) {
addCriterion("comment >", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThanOrEqualTo(String value) {
addCriterion("comment >=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThan(String value) {
addCriterion("comment <", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThanOrEqualTo(String value) {
addCriterion("comment <=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLike(String value) {
addCriterion("comment like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotLike(String value) {
addCriterion("comment not like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentIn(List<String> values) {
addCriterion("comment in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentNotIn(List<String> values) {
addCriterion("comment not in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentBetween(String value1, String value2) {
addCriterion("comment between", value1, value2, "comment");
return (Criteria) this;
}
public Criteria andCommentNotBetween(String value1, String value2) {
addCriterion("comment not between", value1, value2, "comment");
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(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date 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
package com.gmei.data.dqmp.domain;
public class TblRuleInfoDuplexWithBLOBs extends TblRuleInfoDuplex {
private String checkFilters;
private String referFilters;
public String getCheckFilters() {
return checkFilters;
}
public void setCheckFilters(String checkFilters) {
this.checkFilters = checkFilters == null ? null : checkFilters.trim();
}
public String getReferFilters() {
return referFilters;
}
public void setReferFilters(String referFilters) {
this.referFilters = referFilters == null ? null : referFilters.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.Date;
public class TblRuleInfoSimple {
private Integer id;
private String checkType;
private String dbName;
private String tbName;
private String colName;
private String timeColName;
private String indicatorType;
private String startTime;
private Integer isValid;
private String checkTime;
private String comment;
private Date createTime;
private String filters;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCheckType() {
return checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType == null ? null : checkType.trim();
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public String getTimeColName() {
return timeColName;
}
public void setTimeColName(String timeColName) {
this.timeColName = timeColName == null ? null : timeColName.trim();
}
public String getIndicatorType() {
return indicatorType;
}
public void setIndicatorType(String indicatorType) {
this.indicatorType = indicatorType == null ? null : indicatorType.trim();
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime == null ? null : startTime.trim();
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public String getCheckTime() {
return checkTime;
}
public void setCheckTime(String checkTime) {
this.checkTime = checkTime == null ? null : checkTime.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getFilters() {
return filters;
}
public void setFilters(String filters) {
this.filters = filters == null ? null : filters.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TblRuleInfoSimpleCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblRuleInfoSimpleCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCheckTypeIsNull() {
addCriterion("check_type is null");
return (Criteria) this;
}
public Criteria andCheckTypeIsNotNull() {
addCriterion("check_type is not null");
return (Criteria) this;
}
public Criteria andCheckTypeEqualTo(String value) {
addCriterion("check_type =", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotEqualTo(String value) {
addCriterion("check_type <>", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThan(String value) {
addCriterion("check_type >", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThanOrEqualTo(String value) {
addCriterion("check_type >=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThan(String value) {
addCriterion("check_type <", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThanOrEqualTo(String value) {
addCriterion("check_type <=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLike(String value) {
addCriterion("check_type like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotLike(String value) {
addCriterion("check_type not like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeIn(List<String> values) {
addCriterion("check_type in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotIn(List<String> values) {
addCriterion("check_type not in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeBetween(String value1, String value2) {
addCriterion("check_type between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotBetween(String value1, String value2) {
addCriterion("check_type not between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andColNameIsNull() {
addCriterion("col_name is null");
return (Criteria) this;
}
public Criteria andColNameIsNotNull() {
addCriterion("col_name is not null");
return (Criteria) this;
}
public Criteria andColNameEqualTo(String value) {
addCriterion("col_name =", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotEqualTo(String value) {
addCriterion("col_name <>", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThan(String value) {
addCriterion("col_name >", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThanOrEqualTo(String value) {
addCriterion("col_name >=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThan(String value) {
addCriterion("col_name <", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThanOrEqualTo(String value) {
addCriterion("col_name <=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLike(String value) {
addCriterion("col_name like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotLike(String value) {
addCriterion("col_name not like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameIn(List<String> values) {
addCriterion("col_name in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameNotIn(List<String> values) {
addCriterion("col_name not in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameBetween(String value1, String value2) {
addCriterion("col_name between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andColNameNotBetween(String value1, String value2) {
addCriterion("col_name not between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andTimeColNameIsNull() {
addCriterion("time_col_name is null");
return (Criteria) this;
}
public Criteria andTimeColNameIsNotNull() {
addCriterion("time_col_name is not null");
return (Criteria) this;
}
public Criteria andTimeColNameEqualTo(String value) {
addCriterion("time_col_name =", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotEqualTo(String value) {
addCriterion("time_col_name <>", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameGreaterThan(String value) {
addCriterion("time_col_name >", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameGreaterThanOrEqualTo(String value) {
addCriterion("time_col_name >=", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLessThan(String value) {
addCriterion("time_col_name <", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLessThanOrEqualTo(String value) {
addCriterion("time_col_name <=", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLike(String value) {
addCriterion("time_col_name like", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotLike(String value) {
addCriterion("time_col_name not like", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameIn(List<String> values) {
addCriterion("time_col_name in", values, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotIn(List<String> values) {
addCriterion("time_col_name not in", values, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameBetween(String value1, String value2) {
addCriterion("time_col_name between", value1, value2, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotBetween(String value1, String value2) {
addCriterion("time_col_name not between", value1, value2, "timeColName");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNull() {
addCriterion("indicator_type is null");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNotNull() {
addCriterion("indicator_type is not null");
return (Criteria) this;
}
public Criteria andIndicatorTypeEqualTo(String value) {
addCriterion("indicator_type =", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotEqualTo(String value) {
addCriterion("indicator_type <>", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThan(String value) {
addCriterion("indicator_type >", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThanOrEqualTo(String value) {
addCriterion("indicator_type >=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThan(String value) {
addCriterion("indicator_type <", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThanOrEqualTo(String value) {
addCriterion("indicator_type <=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLike(String value) {
addCriterion("indicator_type like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotLike(String value) {
addCriterion("indicator_type not like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeIn(List<String> values) {
addCriterion("indicator_type in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotIn(List<String> values) {
addCriterion("indicator_type not in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeBetween(String value1, String value2) {
addCriterion("indicator_type between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotBetween(String value1, String value2) {
addCriterion("indicator_type not between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andStartTimeIsNull() {
addCriterion("start_time is null");
return (Criteria) this;
}
public Criteria andStartTimeIsNotNull() {
addCriterion("start_time is not null");
return (Criteria) this;
}
public Criteria andStartTimeEqualTo(String value) {
addCriterion("start_time =", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotEqualTo(String value) {
addCriterion("start_time <>", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThan(String value) {
addCriterion("start_time >", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThanOrEqualTo(String value) {
addCriterion("start_time >=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThan(String value) {
addCriterion("start_time <", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThanOrEqualTo(String value) {
addCriterion("start_time <=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLike(String value) {
addCriterion("start_time like", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotLike(String value) {
addCriterion("start_time not like", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeIn(List<String> values) {
addCriterion("start_time in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotIn(List<String> values) {
addCriterion("start_time not in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeBetween(String value1, String value2) {
addCriterion("start_time between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotBetween(String value1, String value2) {
addCriterion("start_time not between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andIsValidIsNull() {
addCriterion("is_valid is null");
return (Criteria) this;
}
public Criteria andIsValidIsNotNull() {
addCriterion("is_valid is not null");
return (Criteria) this;
}
public Criteria andIsValidEqualTo(Integer value) {
addCriterion("is_valid =", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotEqualTo(Integer value) {
addCriterion("is_valid <>", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThan(Integer value) {
addCriterion("is_valid >", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
addCriterion("is_valid >=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThan(Integer value) {
addCriterion("is_valid <", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThanOrEqualTo(Integer value) {
addCriterion("is_valid <=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidIn(List<Integer> values) {
addCriterion("is_valid in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotIn(List<Integer> values) {
addCriterion("is_valid not in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidBetween(Integer value1, Integer value2) {
addCriterion("is_valid between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
addCriterion("is_valid not between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andCheckTimeIsNull() {
addCriterion("check_time is null");
return (Criteria) this;
}
public Criteria andCheckTimeIsNotNull() {
addCriterion("check_time is not null");
return (Criteria) this;
}
public Criteria andCheckTimeEqualTo(String value) {
addCriterion("check_time =", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotEqualTo(String value) {
addCriterion("check_time <>", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThan(String value) {
addCriterion("check_time >", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
addCriterion("check_time >=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThan(String value) {
addCriterion("check_time <", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThanOrEqualTo(String value) {
addCriterion("check_time <=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLike(String value) {
addCriterion("check_time like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotLike(String value) {
addCriterion("check_time not like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeIn(List<String> values) {
addCriterion("check_time in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotIn(List<String> values) {
addCriterion("check_time not in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeBetween(String value1, String value2) {
addCriterion("check_time between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotBetween(String value1, String value2) {
addCriterion("check_time not between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCommentIsNull() {
addCriterion("comment is null");
return (Criteria) this;
}
public Criteria andCommentIsNotNull() {
addCriterion("comment is not null");
return (Criteria) this;
}
public Criteria andCommentEqualTo(String value) {
addCriterion("comment =", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotEqualTo(String value) {
addCriterion("comment <>", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThan(String value) {
addCriterion("comment >", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThanOrEqualTo(String value) {
addCriterion("comment >=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThan(String value) {
addCriterion("comment <", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThanOrEqualTo(String value) {
addCriterion("comment <=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLike(String value) {
addCriterion("comment like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotLike(String value) {
addCriterion("comment not like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentIn(List<String> values) {
addCriterion("comment in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentNotIn(List<String> values) {
addCriterion("comment not in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentBetween(String value1, String value2) {
addCriterion("comment between", value1, value2, "comment");
return (Criteria) this;
}
public Criteria andCommentNotBetween(String value1, String value2) {
addCriterion("comment not between", value1, value2, "comment");
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(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date 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
package com.gmei.data.dqmp.domain;
import java.util.Date;
public class TblSqlCheckMultiple {
private Integer id;
private String checkType;
private String checkDbName;
private String checkTbName;
private String checkColName;
private String referDbName;
private String referTbName;
private String referColName;
private Integer isValid;
private String checkTime;
private String comment;
private Date createTime;
private String sqlContent;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCheckType() {
return checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType == null ? null : checkType.trim();
}
public String getCheckDbName() {
return checkDbName;
}
public void setCheckDbName(String checkDbName) {
this.checkDbName = checkDbName == null ? null : checkDbName.trim();
}
public String getCheckTbName() {
return checkTbName;
}
public void setCheckTbName(String checkTbName) {
this.checkTbName = checkTbName == null ? null : checkTbName.trim();
}
public String getCheckColName() {
return checkColName;
}
public void setCheckColName(String checkColName) {
this.checkColName = checkColName == null ? null : checkColName.trim();
}
public String getReferDbName() {
return referDbName;
}
public void setReferDbName(String referDbName) {
this.referDbName = referDbName == null ? null : referDbName.trim();
}
public String getReferTbName() {
return referTbName;
}
public void setReferTbName(String referTbName) {
this.referTbName = referTbName == null ? null : referTbName.trim();
}
public String getReferColName() {
return referColName;
}
public void setReferColName(String referColName) {
this.referColName = referColName == null ? null : referColName.trim();
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public String getCheckTime() {
return checkTime;
}
public void setCheckTime(String checkTime) {
this.checkTime = checkTime == null ? null : checkTime.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getSqlContent() {
return sqlContent;
}
public void setSqlContent(String sqlContent) {
this.sqlContent = sqlContent == null ? null : sqlContent.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TblSqlCheckMultipleCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblSqlCheckMultipleCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCheckTypeIsNull() {
addCriterion("check_type is null");
return (Criteria) this;
}
public Criteria andCheckTypeIsNotNull() {
addCriterion("check_type is not null");
return (Criteria) this;
}
public Criteria andCheckTypeEqualTo(String value) {
addCriterion("check_type =", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotEqualTo(String value) {
addCriterion("check_type <>", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThan(String value) {
addCriterion("check_type >", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThanOrEqualTo(String value) {
addCriterion("check_type >=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThan(String value) {
addCriterion("check_type <", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThanOrEqualTo(String value) {
addCriterion("check_type <=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLike(String value) {
addCriterion("check_type like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotLike(String value) {
addCriterion("check_type not like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeIn(List<String> values) {
addCriterion("check_type in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotIn(List<String> values) {
addCriterion("check_type not in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeBetween(String value1, String value2) {
addCriterion("check_type between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotBetween(String value1, String value2) {
addCriterion("check_type not between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andCheckDbNameIsNull() {
addCriterion("check_db_name is null");
return (Criteria) this;
}
public Criteria andCheckDbNameIsNotNull() {
addCriterion("check_db_name is not null");
return (Criteria) this;
}
public Criteria andCheckDbNameEqualTo(String value) {
addCriterion("check_db_name =", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotEqualTo(String value) {
addCriterion("check_db_name <>", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameGreaterThan(String value) {
addCriterion("check_db_name >", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameGreaterThanOrEqualTo(String value) {
addCriterion("check_db_name >=", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLessThan(String value) {
addCriterion("check_db_name <", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLessThanOrEqualTo(String value) {
addCriterion("check_db_name <=", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameLike(String value) {
addCriterion("check_db_name like", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotLike(String value) {
addCriterion("check_db_name not like", value, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameIn(List<String> values) {
addCriterion("check_db_name in", values, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotIn(List<String> values) {
addCriterion("check_db_name not in", values, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameBetween(String value1, String value2) {
addCriterion("check_db_name between", value1, value2, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckDbNameNotBetween(String value1, String value2) {
addCriterion("check_db_name not between", value1, value2, "checkDbName");
return (Criteria) this;
}
public Criteria andCheckTbNameIsNull() {
addCriterion("check_tb_name is null");
return (Criteria) this;
}
public Criteria andCheckTbNameIsNotNull() {
addCriterion("check_tb_name is not null");
return (Criteria) this;
}
public Criteria andCheckTbNameEqualTo(String value) {
addCriterion("check_tb_name =", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotEqualTo(String value) {
addCriterion("check_tb_name <>", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameGreaterThan(String value) {
addCriterion("check_tb_name >", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameGreaterThanOrEqualTo(String value) {
addCriterion("check_tb_name >=", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLessThan(String value) {
addCriterion("check_tb_name <", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLessThanOrEqualTo(String value) {
addCriterion("check_tb_name <=", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameLike(String value) {
addCriterion("check_tb_name like", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotLike(String value) {
addCriterion("check_tb_name not like", value, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameIn(List<String> values) {
addCriterion("check_tb_name in", values, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotIn(List<String> values) {
addCriterion("check_tb_name not in", values, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameBetween(String value1, String value2) {
addCriterion("check_tb_name between", value1, value2, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckTbNameNotBetween(String value1, String value2) {
addCriterion("check_tb_name not between", value1, value2, "checkTbName");
return (Criteria) this;
}
public Criteria andCheckColNameIsNull() {
addCriterion("check_col_name is null");
return (Criteria) this;
}
public Criteria andCheckColNameIsNotNull() {
addCriterion("check_col_name is not null");
return (Criteria) this;
}
public Criteria andCheckColNameEqualTo(String value) {
addCriterion("check_col_name =", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotEqualTo(String value) {
addCriterion("check_col_name <>", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameGreaterThan(String value) {
addCriterion("check_col_name >", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameGreaterThanOrEqualTo(String value) {
addCriterion("check_col_name >=", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLessThan(String value) {
addCriterion("check_col_name <", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLessThanOrEqualTo(String value) {
addCriterion("check_col_name <=", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameLike(String value) {
addCriterion("check_col_name like", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotLike(String value) {
addCriterion("check_col_name not like", value, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameIn(List<String> values) {
addCriterion("check_col_name in", values, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotIn(List<String> values) {
addCriterion("check_col_name not in", values, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameBetween(String value1, String value2) {
addCriterion("check_col_name between", value1, value2, "checkColName");
return (Criteria) this;
}
public Criteria andCheckColNameNotBetween(String value1, String value2) {
addCriterion("check_col_name not between", value1, value2, "checkColName");
return (Criteria) this;
}
public Criteria andReferDbNameIsNull() {
addCriterion("refer_db_name is null");
return (Criteria) this;
}
public Criteria andReferDbNameIsNotNull() {
addCriterion("refer_db_name is not null");
return (Criteria) this;
}
public Criteria andReferDbNameEqualTo(String value) {
addCriterion("refer_db_name =", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotEqualTo(String value) {
addCriterion("refer_db_name <>", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameGreaterThan(String value) {
addCriterion("refer_db_name >", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_db_name >=", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLessThan(String value) {
addCriterion("refer_db_name <", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLessThanOrEqualTo(String value) {
addCriterion("refer_db_name <=", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameLike(String value) {
addCriterion("refer_db_name like", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotLike(String value) {
addCriterion("refer_db_name not like", value, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameIn(List<String> values) {
addCriterion("refer_db_name in", values, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotIn(List<String> values) {
addCriterion("refer_db_name not in", values, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameBetween(String value1, String value2) {
addCriterion("refer_db_name between", value1, value2, "referDbName");
return (Criteria) this;
}
public Criteria andReferDbNameNotBetween(String value1, String value2) {
addCriterion("refer_db_name not between", value1, value2, "referDbName");
return (Criteria) this;
}
public Criteria andReferTbNameIsNull() {
addCriterion("refer_tb_name is null");
return (Criteria) this;
}
public Criteria andReferTbNameIsNotNull() {
addCriterion("refer_tb_name is not null");
return (Criteria) this;
}
public Criteria andReferTbNameEqualTo(String value) {
addCriterion("refer_tb_name =", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotEqualTo(String value) {
addCriterion("refer_tb_name <>", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameGreaterThan(String value) {
addCriterion("refer_tb_name >", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_tb_name >=", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLessThan(String value) {
addCriterion("refer_tb_name <", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLessThanOrEqualTo(String value) {
addCriterion("refer_tb_name <=", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameLike(String value) {
addCriterion("refer_tb_name like", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotLike(String value) {
addCriterion("refer_tb_name not like", value, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameIn(List<String> values) {
addCriterion("refer_tb_name in", values, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotIn(List<String> values) {
addCriterion("refer_tb_name not in", values, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameBetween(String value1, String value2) {
addCriterion("refer_tb_name between", value1, value2, "referTbName");
return (Criteria) this;
}
public Criteria andReferTbNameNotBetween(String value1, String value2) {
addCriterion("refer_tb_name not between", value1, value2, "referTbName");
return (Criteria) this;
}
public Criteria andReferColNameIsNull() {
addCriterion("refer_col_name is null");
return (Criteria) this;
}
public Criteria andReferColNameIsNotNull() {
addCriterion("refer_col_name is not null");
return (Criteria) this;
}
public Criteria andReferColNameEqualTo(String value) {
addCriterion("refer_col_name =", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotEqualTo(String value) {
addCriterion("refer_col_name <>", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameGreaterThan(String value) {
addCriterion("refer_col_name >", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameGreaterThanOrEqualTo(String value) {
addCriterion("refer_col_name >=", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLessThan(String value) {
addCriterion("refer_col_name <", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLessThanOrEqualTo(String value) {
addCriterion("refer_col_name <=", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameLike(String value) {
addCriterion("refer_col_name like", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotLike(String value) {
addCriterion("refer_col_name not like", value, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameIn(List<String> values) {
addCriterion("refer_col_name in", values, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotIn(List<String> values) {
addCriterion("refer_col_name not in", values, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameBetween(String value1, String value2) {
addCriterion("refer_col_name between", value1, value2, "referColName");
return (Criteria) this;
}
public Criteria andReferColNameNotBetween(String value1, String value2) {
addCriterion("refer_col_name not between", value1, value2, "referColName");
return (Criteria) this;
}
public Criteria andIsValidIsNull() {
addCriterion("is_valid is null");
return (Criteria) this;
}
public Criteria andIsValidIsNotNull() {
addCriterion("is_valid is not null");
return (Criteria) this;
}
public Criteria andIsValidEqualTo(Integer value) {
addCriterion("is_valid =", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotEqualTo(Integer value) {
addCriterion("is_valid <>", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThan(Integer value) {
addCriterion("is_valid >", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
addCriterion("is_valid >=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThan(Integer value) {
addCriterion("is_valid <", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThanOrEqualTo(Integer value) {
addCriterion("is_valid <=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidIn(List<Integer> values) {
addCriterion("is_valid in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotIn(List<Integer> values) {
addCriterion("is_valid not in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidBetween(Integer value1, Integer value2) {
addCriterion("is_valid between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
addCriterion("is_valid not between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andCheckTimeIsNull() {
addCriterion("check_time is null");
return (Criteria) this;
}
public Criteria andCheckTimeIsNotNull() {
addCriterion("check_time is not null");
return (Criteria) this;
}
public Criteria andCheckTimeEqualTo(String value) {
addCriterion("check_time =", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotEqualTo(String value) {
addCriterion("check_time <>", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThan(String value) {
addCriterion("check_time >", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
addCriterion("check_time >=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThan(String value) {
addCriterion("check_time <", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThanOrEqualTo(String value) {
addCriterion("check_time <=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLike(String value) {
addCriterion("check_time like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotLike(String value) {
addCriterion("check_time not like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeIn(List<String> values) {
addCriterion("check_time in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotIn(List<String> values) {
addCriterion("check_time not in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeBetween(String value1, String value2) {
addCriterion("check_time between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotBetween(String value1, String value2) {
addCriterion("check_time not between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCommentIsNull() {
addCriterion("comment is null");
return (Criteria) this;
}
public Criteria andCommentIsNotNull() {
addCriterion("comment is not null");
return (Criteria) this;
}
public Criteria andCommentEqualTo(String value) {
addCriterion("comment =", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotEqualTo(String value) {
addCriterion("comment <>", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThan(String value) {
addCriterion("comment >", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThanOrEqualTo(String value) {
addCriterion("comment >=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThan(String value) {
addCriterion("comment <", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThanOrEqualTo(String value) {
addCriterion("comment <=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLike(String value) {
addCriterion("comment like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotLike(String value) {
addCriterion("comment not like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentIn(List<String> values) {
addCriterion("comment in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentNotIn(List<String> values) {
addCriterion("comment not in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentBetween(String value1, String value2) {
addCriterion("comment between", value1, value2, "comment");
return (Criteria) this;
}
public Criteria andCommentNotBetween(String value1, String value2) {
addCriterion("comment not between", value1, value2, "comment");
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(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date 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
package com.gmei.data.dqmp.domain;
import java.util.Date;
public class TblSqlCheckSingle {
private Integer id;
private String checkType;
private String dbName;
private String tbName;
private String colName;
private Integer isValid;
private String checkTime;
private String comment;
private Date createTime;
private String sqlContent;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCheckType() {
return checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType == null ? null : checkType.trim();
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public String getCheckTime() {
return checkTime;
}
public void setCheckTime(String checkTime) {
this.checkTime = checkTime == null ? null : checkTime.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getSqlContent() {
return sqlContent;
}
public void setSqlContent(String sqlContent) {
this.sqlContent = sqlContent == null ? null : sqlContent.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TblSqlCheckSingleCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblSqlCheckSingleCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCheckTypeIsNull() {
addCriterion("check_type is null");
return (Criteria) this;
}
public Criteria andCheckTypeIsNotNull() {
addCriterion("check_type is not null");
return (Criteria) this;
}
public Criteria andCheckTypeEqualTo(String value) {
addCriterion("check_type =", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotEqualTo(String value) {
addCriterion("check_type <>", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThan(String value) {
addCriterion("check_type >", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeGreaterThanOrEqualTo(String value) {
addCriterion("check_type >=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThan(String value) {
addCriterion("check_type <", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLessThanOrEqualTo(String value) {
addCriterion("check_type <=", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeLike(String value) {
addCriterion("check_type like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotLike(String value) {
addCriterion("check_type not like", value, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeIn(List<String> values) {
addCriterion("check_type in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotIn(List<String> values) {
addCriterion("check_type not in", values, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeBetween(String value1, String value2) {
addCriterion("check_type between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andCheckTypeNotBetween(String value1, String value2) {
addCriterion("check_type not between", value1, value2, "checkType");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andColNameIsNull() {
addCriterion("col_name is null");
return (Criteria) this;
}
public Criteria andColNameIsNotNull() {
addCriterion("col_name is not null");
return (Criteria) this;
}
public Criteria andColNameEqualTo(String value) {
addCriterion("col_name =", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotEqualTo(String value) {
addCriterion("col_name <>", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThan(String value) {
addCriterion("col_name >", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThanOrEqualTo(String value) {
addCriterion("col_name >=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThan(String value) {
addCriterion("col_name <", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThanOrEqualTo(String value) {
addCriterion("col_name <=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLike(String value) {
addCriterion("col_name like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotLike(String value) {
addCriterion("col_name not like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameIn(List<String> values) {
addCriterion("col_name in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameNotIn(List<String> values) {
addCriterion("col_name not in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameBetween(String value1, String value2) {
addCriterion("col_name between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andColNameNotBetween(String value1, String value2) {
addCriterion("col_name not between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andIsValidIsNull() {
addCriterion("is_valid is null");
return (Criteria) this;
}
public Criteria andIsValidIsNotNull() {
addCriterion("is_valid is not null");
return (Criteria) this;
}
public Criteria andIsValidEqualTo(Integer value) {
addCriterion("is_valid =", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotEqualTo(Integer value) {
addCriterion("is_valid <>", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThan(Integer value) {
addCriterion("is_valid >", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
addCriterion("is_valid >=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThan(Integer value) {
addCriterion("is_valid <", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThanOrEqualTo(Integer value) {
addCriterion("is_valid <=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidIn(List<Integer> values) {
addCriterion("is_valid in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotIn(List<Integer> values) {
addCriterion("is_valid not in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidBetween(Integer value1, Integer value2) {
addCriterion("is_valid between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
addCriterion("is_valid not between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andCheckTimeIsNull() {
addCriterion("check_time is null");
return (Criteria) this;
}
public Criteria andCheckTimeIsNotNull() {
addCriterion("check_time is not null");
return (Criteria) this;
}
public Criteria andCheckTimeEqualTo(String value) {
addCriterion("check_time =", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotEqualTo(String value) {
addCriterion("check_time <>", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThan(String value) {
addCriterion("check_time >", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
addCriterion("check_time >=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThan(String value) {
addCriterion("check_time <", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThanOrEqualTo(String value) {
addCriterion("check_time <=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLike(String value) {
addCriterion("check_time like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotLike(String value) {
addCriterion("check_time not like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeIn(List<String> values) {
addCriterion("check_time in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotIn(List<String> values) {
addCriterion("check_time not in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeBetween(String value1, String value2) {
addCriterion("check_time between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotBetween(String value1, String value2) {
addCriterion("check_time not between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCommentIsNull() {
addCriterion("comment is null");
return (Criteria) this;
}
public Criteria andCommentIsNotNull() {
addCriterion("comment is not null");
return (Criteria) this;
}
public Criteria andCommentEqualTo(String value) {
addCriterion("comment =", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotEqualTo(String value) {
addCriterion("comment <>", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThan(String value) {
addCriterion("comment >", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThanOrEqualTo(String value) {
addCriterion("comment >=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThan(String value) {
addCriterion("comment <", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThanOrEqualTo(String value) {
addCriterion("comment <=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLike(String value) {
addCriterion("comment like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotLike(String value) {
addCriterion("comment not like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentIn(List<String> values) {
addCriterion("comment in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentNotIn(List<String> values) {
addCriterion("comment not in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentBetween(String value1, String value2) {
addCriterion("comment between", value1, value2, "comment");
return (Criteria) this;
}
public Criteria andCommentNotBetween(String value1, String value2) {
addCriterion("comment not between", value1, value2, "comment");
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(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date 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
package com.gmei.data.dqmp.domain;
import java.util.Date;
public class TblSqlMonitorSpecial {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private String timeColName;
private String indicatorType;
private String startTime;
private Integer isValid;
private String checkTime;
private String comment;
private Date createTime;
private String sqlContent;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public String getTimeColName() {
return timeColName;
}
public void setTimeColName(String timeColName) {
this.timeColName = timeColName == null ? null : timeColName.trim();
}
public String getIndicatorType() {
return indicatorType;
}
public void setIndicatorType(String indicatorType) {
this.indicatorType = indicatorType == null ? null : indicatorType.trim();
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime == null ? null : startTime.trim();
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public String getCheckTime() {
return checkTime;
}
public void setCheckTime(String checkTime) {
this.checkTime = checkTime == null ? null : checkTime.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getSqlContent() {
return sqlContent;
}
public void setSqlContent(String sqlContent) {
this.sqlContent = sqlContent == null ? null : sqlContent.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TblSqlMonitorSpecialCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblSqlMonitorSpecialCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andColNameIsNull() {
addCriterion("col_name is null");
return (Criteria) this;
}
public Criteria andColNameIsNotNull() {
addCriterion("col_name is not null");
return (Criteria) this;
}
public Criteria andColNameEqualTo(String value) {
addCriterion("col_name =", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotEqualTo(String value) {
addCriterion("col_name <>", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThan(String value) {
addCriterion("col_name >", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThanOrEqualTo(String value) {
addCriterion("col_name >=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThan(String value) {
addCriterion("col_name <", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThanOrEqualTo(String value) {
addCriterion("col_name <=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLike(String value) {
addCriterion("col_name like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotLike(String value) {
addCriterion("col_name not like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameIn(List<String> values) {
addCriterion("col_name in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameNotIn(List<String> values) {
addCriterion("col_name not in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameBetween(String value1, String value2) {
addCriterion("col_name between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andColNameNotBetween(String value1, String value2) {
addCriterion("col_name not between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andTimeColNameIsNull() {
addCriterion("time_col_name is null");
return (Criteria) this;
}
public Criteria andTimeColNameIsNotNull() {
addCriterion("time_col_name is not null");
return (Criteria) this;
}
public Criteria andTimeColNameEqualTo(String value) {
addCriterion("time_col_name =", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotEqualTo(String value) {
addCriterion("time_col_name <>", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameGreaterThan(String value) {
addCriterion("time_col_name >", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameGreaterThanOrEqualTo(String value) {
addCriterion("time_col_name >=", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLessThan(String value) {
addCriterion("time_col_name <", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLessThanOrEqualTo(String value) {
addCriterion("time_col_name <=", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameLike(String value) {
addCriterion("time_col_name like", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotLike(String value) {
addCriterion("time_col_name not like", value, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameIn(List<String> values) {
addCriterion("time_col_name in", values, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotIn(List<String> values) {
addCriterion("time_col_name not in", values, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameBetween(String value1, String value2) {
addCriterion("time_col_name between", value1, value2, "timeColName");
return (Criteria) this;
}
public Criteria andTimeColNameNotBetween(String value1, String value2) {
addCriterion("time_col_name not between", value1, value2, "timeColName");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNull() {
addCriterion("indicator_type is null");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNotNull() {
addCriterion("indicator_type is not null");
return (Criteria) this;
}
public Criteria andIndicatorTypeEqualTo(String value) {
addCriterion("indicator_type =", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotEqualTo(String value) {
addCriterion("indicator_type <>", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThan(String value) {
addCriterion("indicator_type >", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThanOrEqualTo(String value) {
addCriterion("indicator_type >=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThan(String value) {
addCriterion("indicator_type <", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThanOrEqualTo(String value) {
addCriterion("indicator_type <=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLike(String value) {
addCriterion("indicator_type like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotLike(String value) {
addCriterion("indicator_type not like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeIn(List<String> values) {
addCriterion("indicator_type in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotIn(List<String> values) {
addCriterion("indicator_type not in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeBetween(String value1, String value2) {
addCriterion("indicator_type between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotBetween(String value1, String value2) {
addCriterion("indicator_type not between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andStartTimeIsNull() {
addCriterion("start_time is null");
return (Criteria) this;
}
public Criteria andStartTimeIsNotNull() {
addCriterion("start_time is not null");
return (Criteria) this;
}
public Criteria andStartTimeEqualTo(String value) {
addCriterion("start_time =", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotEqualTo(String value) {
addCriterion("start_time <>", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThan(String value) {
addCriterion("start_time >", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThanOrEqualTo(String value) {
addCriterion("start_time >=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThan(String value) {
addCriterion("start_time <", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThanOrEqualTo(String value) {
addCriterion("start_time <=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLike(String value) {
addCriterion("start_time like", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotLike(String value) {
addCriterion("start_time not like", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeIn(List<String> values) {
addCriterion("start_time in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotIn(List<String> values) {
addCriterion("start_time not in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeBetween(String value1, String value2) {
addCriterion("start_time between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotBetween(String value1, String value2) {
addCriterion("start_time not between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andIsValidIsNull() {
addCriterion("is_valid is null");
return (Criteria) this;
}
public Criteria andIsValidIsNotNull() {
addCriterion("is_valid is not null");
return (Criteria) this;
}
public Criteria andIsValidEqualTo(Integer value) {
addCriterion("is_valid =", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotEqualTo(Integer value) {
addCriterion("is_valid <>", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThan(Integer value) {
addCriterion("is_valid >", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
addCriterion("is_valid >=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThan(Integer value) {
addCriterion("is_valid <", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThanOrEqualTo(Integer value) {
addCriterion("is_valid <=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidIn(List<Integer> values) {
addCriterion("is_valid in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotIn(List<Integer> values) {
addCriterion("is_valid not in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidBetween(Integer value1, Integer value2) {
addCriterion("is_valid between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
addCriterion("is_valid not between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andCheckTimeIsNull() {
addCriterion("check_time is null");
return (Criteria) this;
}
public Criteria andCheckTimeIsNotNull() {
addCriterion("check_time is not null");
return (Criteria) this;
}
public Criteria andCheckTimeEqualTo(String value) {
addCriterion("check_time =", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotEqualTo(String value) {
addCriterion("check_time <>", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThan(String value) {
addCriterion("check_time >", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
addCriterion("check_time >=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThan(String value) {
addCriterion("check_time <", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThanOrEqualTo(String value) {
addCriterion("check_time <=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLike(String value) {
addCriterion("check_time like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotLike(String value) {
addCriterion("check_time not like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeIn(List<String> values) {
addCriterion("check_time in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotIn(List<String> values) {
addCriterion("check_time not in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeBetween(String value1, String value2) {
addCriterion("check_time between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotBetween(String value1, String value2) {
addCriterion("check_time not between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCommentIsNull() {
addCriterion("comment is null");
return (Criteria) this;
}
public Criteria andCommentIsNotNull() {
addCriterion("comment is not null");
return (Criteria) this;
}
public Criteria andCommentEqualTo(String value) {
addCriterion("comment =", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotEqualTo(String value) {
addCriterion("comment <>", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThan(String value) {
addCriterion("comment >", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThanOrEqualTo(String value) {
addCriterion("comment >=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThan(String value) {
addCriterion("comment <", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThanOrEqualTo(String value) {
addCriterion("comment <=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLike(String value) {
addCriterion("comment like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotLike(String value) {
addCriterion("comment not like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentIn(List<String> values) {
addCriterion("comment in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentNotIn(List<String> values) {
addCriterion("comment not in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentBetween(String value1, String value2) {
addCriterion("comment between", value1, value2, "comment");
return (Criteria) this;
}
public Criteria andCommentNotBetween(String value1, String value2) {
addCriterion("comment not between", value1, value2, "comment");
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(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date 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
package com.gmei.data.dqmp.domain;
import java.util.Date;
public class TblSqlMonitorVolatility {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private String indicatorType;
private Integer isValid;
private String checkTime;
private String comment;
private Date createTime;
private String sqlContent;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public String getIndicatorType() {
return indicatorType;
}
public void setIndicatorType(String indicatorType) {
this.indicatorType = indicatorType == null ? null : indicatorType.trim();
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public String getCheckTime() {
return checkTime;
}
public void setCheckTime(String checkTime) {
this.checkTime = checkTime == null ? null : checkTime.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getSqlContent() {
return sqlContent;
}
public void setSqlContent(String sqlContent) {
this.sqlContent = sqlContent == null ? null : sqlContent.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TblSqlMonitorVolatilityCriteria {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TblSqlMonitorVolatilityCriteria() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criteria> 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<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> 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(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDbNameIsNull() {
addCriterion("db_name is null");
return (Criteria) this;
}
public Criteria andDbNameIsNotNull() {
addCriterion("db_name is not null");
return (Criteria) this;
}
public Criteria andDbNameEqualTo(String value) {
addCriterion("db_name =", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotEqualTo(String value) {
addCriterion("db_name <>", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThan(String value) {
addCriterion("db_name >", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameGreaterThanOrEqualTo(String value) {
addCriterion("db_name >=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThan(String value) {
addCriterion("db_name <", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLessThanOrEqualTo(String value) {
addCriterion("db_name <=", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameLike(String value) {
addCriterion("db_name like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotLike(String value) {
addCriterion("db_name not like", value, "dbName");
return (Criteria) this;
}
public Criteria andDbNameIn(List<String> values) {
addCriterion("db_name in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotIn(List<String> values) {
addCriterion("db_name not in", values, "dbName");
return (Criteria) this;
}
public Criteria andDbNameBetween(String value1, String value2) {
addCriterion("db_name between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andDbNameNotBetween(String value1, String value2) {
addCriterion("db_name not between", value1, value2, "dbName");
return (Criteria) this;
}
public Criteria andTbNameIsNull() {
addCriterion("tb_name is null");
return (Criteria) this;
}
public Criteria andTbNameIsNotNull() {
addCriterion("tb_name is not null");
return (Criteria) this;
}
public Criteria andTbNameEqualTo(String value) {
addCriterion("tb_name =", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotEqualTo(String value) {
addCriterion("tb_name <>", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThan(String value) {
addCriterion("tb_name >", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameGreaterThanOrEqualTo(String value) {
addCriterion("tb_name >=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThan(String value) {
addCriterion("tb_name <", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLessThanOrEqualTo(String value) {
addCriterion("tb_name <=", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameLike(String value) {
addCriterion("tb_name like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotLike(String value) {
addCriterion("tb_name not like", value, "tbName");
return (Criteria) this;
}
public Criteria andTbNameIn(List<String> values) {
addCriterion("tb_name in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotIn(List<String> values) {
addCriterion("tb_name not in", values, "tbName");
return (Criteria) this;
}
public Criteria andTbNameBetween(String value1, String value2) {
addCriterion("tb_name between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andTbNameNotBetween(String value1, String value2) {
addCriterion("tb_name not between", value1, value2, "tbName");
return (Criteria) this;
}
public Criteria andColNameIsNull() {
addCriterion("col_name is null");
return (Criteria) this;
}
public Criteria andColNameIsNotNull() {
addCriterion("col_name is not null");
return (Criteria) this;
}
public Criteria andColNameEqualTo(String value) {
addCriterion("col_name =", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotEqualTo(String value) {
addCriterion("col_name <>", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThan(String value) {
addCriterion("col_name >", value, "colName");
return (Criteria) this;
}
public Criteria andColNameGreaterThanOrEqualTo(String value) {
addCriterion("col_name >=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThan(String value) {
addCriterion("col_name <", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLessThanOrEqualTo(String value) {
addCriterion("col_name <=", value, "colName");
return (Criteria) this;
}
public Criteria andColNameLike(String value) {
addCriterion("col_name like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameNotLike(String value) {
addCriterion("col_name not like", value, "colName");
return (Criteria) this;
}
public Criteria andColNameIn(List<String> values) {
addCriterion("col_name in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameNotIn(List<String> values) {
addCriterion("col_name not in", values, "colName");
return (Criteria) this;
}
public Criteria andColNameBetween(String value1, String value2) {
addCriterion("col_name between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andColNameNotBetween(String value1, String value2) {
addCriterion("col_name not between", value1, value2, "colName");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNull() {
addCriterion("indicator_type is null");
return (Criteria) this;
}
public Criteria andIndicatorTypeIsNotNull() {
addCriterion("indicator_type is not null");
return (Criteria) this;
}
public Criteria andIndicatorTypeEqualTo(String value) {
addCriterion("indicator_type =", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotEqualTo(String value) {
addCriterion("indicator_type <>", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThan(String value) {
addCriterion("indicator_type >", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeGreaterThanOrEqualTo(String value) {
addCriterion("indicator_type >=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThan(String value) {
addCriterion("indicator_type <", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLessThanOrEqualTo(String value) {
addCriterion("indicator_type <=", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeLike(String value) {
addCriterion("indicator_type like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotLike(String value) {
addCriterion("indicator_type not like", value, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeIn(List<String> values) {
addCriterion("indicator_type in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotIn(List<String> values) {
addCriterion("indicator_type not in", values, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeBetween(String value1, String value2) {
addCriterion("indicator_type between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIndicatorTypeNotBetween(String value1, String value2) {
addCriterion("indicator_type not between", value1, value2, "indicatorType");
return (Criteria) this;
}
public Criteria andIsValidIsNull() {
addCriterion("is_valid is null");
return (Criteria) this;
}
public Criteria andIsValidIsNotNull() {
addCriterion("is_valid is not null");
return (Criteria) this;
}
public Criteria andIsValidEqualTo(Integer value) {
addCriterion("is_valid =", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotEqualTo(Integer value) {
addCriterion("is_valid <>", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThan(Integer value) {
addCriterion("is_valid >", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
addCriterion("is_valid >=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThan(Integer value) {
addCriterion("is_valid <", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidLessThanOrEqualTo(Integer value) {
addCriterion("is_valid <=", value, "isValid");
return (Criteria) this;
}
public Criteria andIsValidIn(List<Integer> values) {
addCriterion("is_valid in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotIn(List<Integer> values) {
addCriterion("is_valid not in", values, "isValid");
return (Criteria) this;
}
public Criteria andIsValidBetween(Integer value1, Integer value2) {
addCriterion("is_valid between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
addCriterion("is_valid not between", value1, value2, "isValid");
return (Criteria) this;
}
public Criteria andCheckTimeIsNull() {
addCriterion("check_time is null");
return (Criteria) this;
}
public Criteria andCheckTimeIsNotNull() {
addCriterion("check_time is not null");
return (Criteria) this;
}
public Criteria andCheckTimeEqualTo(String value) {
addCriterion("check_time =", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotEqualTo(String value) {
addCriterion("check_time <>", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThan(String value) {
addCriterion("check_time >", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
addCriterion("check_time >=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThan(String value) {
addCriterion("check_time <", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLessThanOrEqualTo(String value) {
addCriterion("check_time <=", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeLike(String value) {
addCriterion("check_time like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotLike(String value) {
addCriterion("check_time not like", value, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeIn(List<String> values) {
addCriterion("check_time in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotIn(List<String> values) {
addCriterion("check_time not in", values, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeBetween(String value1, String value2) {
addCriterion("check_time between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCheckTimeNotBetween(String value1, String value2) {
addCriterion("check_time not between", value1, value2, "checkTime");
return (Criteria) this;
}
public Criteria andCommentIsNull() {
addCriterion("comment is null");
return (Criteria) this;
}
public Criteria andCommentIsNotNull() {
addCriterion("comment is not null");
return (Criteria) this;
}
public Criteria andCommentEqualTo(String value) {
addCriterion("comment =", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotEqualTo(String value) {
addCriterion("comment <>", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThan(String value) {
addCriterion("comment >", value, "comment");
return (Criteria) this;
}
public Criteria andCommentGreaterThanOrEqualTo(String value) {
addCriterion("comment >=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThan(String value) {
addCriterion("comment <", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLessThanOrEqualTo(String value) {
addCriterion("comment <=", value, "comment");
return (Criteria) this;
}
public Criteria andCommentLike(String value) {
addCriterion("comment like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentNotLike(String value) {
addCriterion("comment not like", value, "comment");
return (Criteria) this;
}
public Criteria andCommentIn(List<String> values) {
addCriterion("comment in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentNotIn(List<String> values) {
addCriterion("comment not in", values, "comment");
return (Criteria) this;
}
public Criteria andCommentBetween(String value1, String value2) {
addCriterion("comment between", value1, value2, "comment");
return (Criteria) this;
}
public Criteria andCommentNotBetween(String value1, String value2) {
addCriterion("comment not between", value1, value2, "comment");
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(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date 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
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo;
import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblIndicatorOperatorInfoMapper {
int countByExample(TblIndicatorOperatorInfoCriteria example);
int deleteByExample(TblIndicatorOperatorInfoCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblIndicatorOperatorInfo record);
int insertSelective(TblIndicatorOperatorInfo record);
List<TblIndicatorOperatorInfo> selectByExample(TblIndicatorOperatorInfoCriteria example);
TblIndicatorOperatorInfo selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblIndicatorOperatorInfo record, @Param("example") TblIndicatorOperatorInfoCriteria example);
int updateByExample(@Param("record") TblIndicatorOperatorInfo record, @Param("example") TblIndicatorOperatorInfoCriteria example);
int updateByPrimaryKeySelective(TblIndicatorOperatorInfo record);
int updateByPrimaryKey(TblIndicatorOperatorInfo record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultCheckRefer;
import com.gmei.data.dqmp.domain.TblResultCheckReferCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultCheckReferMapper {
int countByExample(TblResultCheckReferCriteria example);
int deleteByExample(TblResultCheckReferCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultCheckRefer record);
int insertSelective(TblResultCheckRefer record);
List<TblResultCheckRefer> selectByExample(TblResultCheckReferCriteria example);
TblResultCheckRefer selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultCheckRefer record, @Param("example") TblResultCheckReferCriteria example);
int updateByExample(@Param("record") TblResultCheckRefer record, @Param("example") TblResultCheckReferCriteria example);
int updateByPrimaryKeySelective(TblResultCheckRefer record);
int updateByPrimaryKey(TblResultCheckRefer record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultCheckUnblank;
import com.gmei.data.dqmp.domain.TblResultCheckUnblankCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultCheckUnblankMapper {
int countByExample(TblResultCheckUnblankCriteria example);
int deleteByExample(TblResultCheckUnblankCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultCheckUnblank record);
int insertSelective(TblResultCheckUnblank record);
List<TblResultCheckUnblank> selectByExample(TblResultCheckUnblankCriteria example);
TblResultCheckUnblank selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultCheckUnblank record, @Param("example") TblResultCheckUnblankCriteria example);
int updateByExample(@Param("record") TblResultCheckUnblank record, @Param("example") TblResultCheckUnblankCriteria example);
int updateByPrimaryKeySelective(TblResultCheckUnblank record);
int updateByPrimaryKey(TblResultCheckUnblank record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultCheckUnique;
import com.gmei.data.dqmp.domain.TblResultCheckUniqueCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultCheckUniqueMapper {
int countByExample(TblResultCheckUniqueCriteria example);
int deleteByExample(TblResultCheckUniqueCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultCheckUnique record);
int insertSelective(TblResultCheckUnique record);
List<TblResultCheckUnique> selectByExample(TblResultCheckUniqueCriteria example);
TblResultCheckUnique selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultCheckUnique record, @Param("example") TblResultCheckUniqueCriteria example);
int updateByExample(@Param("record") TblResultCheckUnique record, @Param("example") TblResultCheckUniqueCriteria example);
int updateByPrimaryKeySelective(TblResultCheckUnique record);
int updateByPrimaryKey(TblResultCheckUnique record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultMonitorSpecial;
import com.gmei.data.dqmp.domain.TblResultMonitorSpecialCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultMonitorSpecialMapper {
int countByExample(TblResultMonitorSpecialCriteria example);
int deleteByExample(TblResultMonitorSpecialCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultMonitorSpecial record);
int insertSelective(TblResultMonitorSpecial record);
List<TblResultMonitorSpecial> selectByExample(TblResultMonitorSpecialCriteria example);
TblResultMonitorSpecial selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultMonitorSpecial record, @Param("example") TblResultMonitorSpecialCriteria example);
int updateByExample(@Param("record") TblResultMonitorSpecial record, @Param("example") TblResultMonitorSpecialCriteria example);
int updateByPrimaryKeySelective(TblResultMonitorSpecial record);
int updateByPrimaryKey(TblResultMonitorSpecial record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultMonitorVolatility;
import com.gmei.data.dqmp.domain.TblResultMonitorVolatilityCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultMonitorVolatilityMapper {
int countByExample(TblResultMonitorVolatilityCriteria example);
int deleteByExample(TblResultMonitorVolatilityCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultMonitorVolatility record);
int insertSelective(TblResultMonitorVolatility record);
List<TblResultMonitorVolatility> selectByExample(TblResultMonitorVolatilityCriteria example);
TblResultMonitorVolatility selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultMonitorVolatility record, @Param("example") TblResultMonitorVolatilityCriteria example);
int updateByExample(@Param("record") TblResultMonitorVolatility record, @Param("example") TblResultMonitorVolatilityCriteria example);
int updateByPrimaryKeySelective(TblResultMonitorVolatility record);
int updateByPrimaryKey(TblResultMonitorVolatility record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblRuleInfoDuplex;
import com.gmei.data.dqmp.domain.TblRuleInfoDuplexCriteria;
import com.gmei.data.dqmp.domain.TblRuleInfoDuplexWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblRuleInfoDuplexMapper {
int countByExample(TblRuleInfoDuplexCriteria example);
int deleteByExample(TblRuleInfoDuplexCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblRuleInfoDuplexWithBLOBs record);
int insertSelective(TblRuleInfoDuplexWithBLOBs record);
List<TblRuleInfoDuplexWithBLOBs> selectByExampleWithBLOBs(TblRuleInfoDuplexCriteria example);
List<TblRuleInfoDuplex> selectByExample(TblRuleInfoDuplexCriteria example);
TblRuleInfoDuplexWithBLOBs selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblRuleInfoDuplexWithBLOBs record, @Param("example") TblRuleInfoDuplexCriteria example);
int updateByExampleWithBLOBs(@Param("record") TblRuleInfoDuplexWithBLOBs record, @Param("example") TblRuleInfoDuplexCriteria example);
int updateByExample(@Param("record") TblRuleInfoDuplex record, @Param("example") TblRuleInfoDuplexCriteria example);
int updateByPrimaryKeySelective(TblRuleInfoDuplexWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TblRuleInfoDuplexWithBLOBs record);
int updateByPrimaryKey(TblRuleInfoDuplex record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblRuleInfoSimple;
import com.gmei.data.dqmp.domain.TblRuleInfoSimpleCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblRuleInfoSimpleMapper {
int countByExample(TblRuleInfoSimpleCriteria example);
int deleteByExample(TblRuleInfoSimpleCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblRuleInfoSimple record);
int insertSelective(TblRuleInfoSimple record);
List<TblRuleInfoSimple> selectByExampleWithBLOBs(TblRuleInfoSimpleCriteria example);
List<TblRuleInfoSimple> selectByExample(TblRuleInfoSimpleCriteria example);
TblRuleInfoSimple selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblRuleInfoSimple record, @Param("example") TblRuleInfoSimpleCriteria example);
int updateByExampleWithBLOBs(@Param("record") TblRuleInfoSimple record, @Param("example") TblRuleInfoSimpleCriteria example);
int updateByExample(@Param("record") TblRuleInfoSimple record, @Param("example") TblRuleInfoSimpleCriteria example);
int updateByPrimaryKeySelective(TblRuleInfoSimple record);
int updateByPrimaryKeyWithBLOBs(TblRuleInfoSimple record);
int updateByPrimaryKey(TblRuleInfoSimple record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblSqlCheckMultiple;
import com.gmei.data.dqmp.domain.TblSqlCheckMultipleCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblSqlCheckMultipleMapper {
int countByExample(TblSqlCheckMultipleCriteria example);
int deleteByExample(TblSqlCheckMultipleCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblSqlCheckMultiple record);
int insertSelective(TblSqlCheckMultiple record);
List<TblSqlCheckMultiple> selectByExampleWithBLOBs(TblSqlCheckMultipleCriteria example);
List<TblSqlCheckMultiple> selectByExample(TblSqlCheckMultipleCriteria example);
TblSqlCheckMultiple selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblSqlCheckMultiple record, @Param("example") TblSqlCheckMultipleCriteria example);
int updateByExampleWithBLOBs(@Param("record") TblSqlCheckMultiple record, @Param("example") TblSqlCheckMultipleCriteria example);
int updateByExample(@Param("record") TblSqlCheckMultiple record, @Param("example") TblSqlCheckMultipleCriteria example);
int updateByPrimaryKeySelective(TblSqlCheckMultiple record);
int updateByPrimaryKeyWithBLOBs(TblSqlCheckMultiple record);
int updateByPrimaryKey(TblSqlCheckMultiple record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblSqlCheckSingle;
import com.gmei.data.dqmp.domain.TblSqlCheckSingleCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblSqlCheckSingleMapper {
int countByExample(TblSqlCheckSingleCriteria example);
int deleteByExample(TblSqlCheckSingleCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblSqlCheckSingle record);
int insertSelective(TblSqlCheckSingle record);
List<TblSqlCheckSingle> selectByExampleWithBLOBs(TblSqlCheckSingleCriteria example);
List<TblSqlCheckSingle> selectByExample(TblSqlCheckSingleCriteria example);
TblSqlCheckSingle selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblSqlCheckSingle record, @Param("example") TblSqlCheckSingleCriteria example);
int updateByExampleWithBLOBs(@Param("record") TblSqlCheckSingle record, @Param("example") TblSqlCheckSingleCriteria example);
int updateByExample(@Param("record") TblSqlCheckSingle record, @Param("example") TblSqlCheckSingleCriteria example);
int updateByPrimaryKeySelective(TblSqlCheckSingle record);
int updateByPrimaryKeyWithBLOBs(TblSqlCheckSingle record);
int updateByPrimaryKey(TblSqlCheckSingle record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblSqlMonitorSpecial;
import com.gmei.data.dqmp.domain.TblSqlMonitorSpecialCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblSqlMonitorSpecialMapper {
int countByExample(TblSqlMonitorSpecialCriteria example);
int deleteByExample(TblSqlMonitorSpecialCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblSqlMonitorSpecial record);
int insertSelective(TblSqlMonitorSpecial record);
List<TblSqlMonitorSpecial> selectByExampleWithBLOBs(TblSqlMonitorSpecialCriteria example);
List<TblSqlMonitorSpecial> selectByExample(TblSqlMonitorSpecialCriteria example);
TblSqlMonitorSpecial selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblSqlMonitorSpecial record, @Param("example") TblSqlMonitorSpecialCriteria example);
int updateByExampleWithBLOBs(@Param("record") TblSqlMonitorSpecial record, @Param("example") TblSqlMonitorSpecialCriteria example);
int updateByExample(@Param("record") TblSqlMonitorSpecial record, @Param("example") TblSqlMonitorSpecialCriteria example);
int updateByPrimaryKeySelective(TblSqlMonitorSpecial record);
int updateByPrimaryKeyWithBLOBs(TblSqlMonitorSpecial record);
int updateByPrimaryKey(TblSqlMonitorSpecial record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblSqlMonitorVolatility;
import com.gmei.data.dqmp.domain.TblSqlMonitorVolatilityCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblSqlMonitorVolatilityMapper {
int countByExample(TblSqlMonitorVolatilityCriteria example);
int deleteByExample(TblSqlMonitorVolatilityCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblSqlMonitorVolatility record);
int insertSelective(TblSqlMonitorVolatility record);
List<TblSqlMonitorVolatility> selectByExampleWithBLOBs(TblSqlMonitorVolatilityCriteria example);
List<TblSqlMonitorVolatility> selectByExample(TblSqlMonitorVolatilityCriteria example);
TblSqlMonitorVolatility selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblSqlMonitorVolatility record, @Param("example") TblSqlMonitorVolatilityCriteria example);
int updateByExampleWithBLOBs(@Param("record") TblSqlMonitorVolatility record, @Param("example") TblSqlMonitorVolatilityCriteria example);
int updateByExample(@Param("record") TblSqlMonitorVolatility record, @Param("example") TblSqlMonitorVolatilityCriteria example);
int updateByPrimaryKeySelective(TblSqlMonitorVolatility record);
int updateByPrimaryKeyWithBLOBs(TblSqlMonitorVolatility record);
int updateByPrimaryKey(TblSqlMonitorVolatility record);
}
\ No newline at end of file
...@@ -12,18 +12,18 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -12,18 +12,18 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.gmei.data.dqmp.common.Constants; import com.gmei.data.dqmp.common.Constants;
import com.gmei.data.dqmp.domain.TblCheckMultipleSql;
import com.gmei.data.dqmp.domain.TblCheckMultipleSqlCriteria;
import com.gmei.data.dqmp.domain.TblCheckSingleSql;
import com.gmei.data.dqmp.domain.TblCheckSingleSqlCriteria;
import com.gmei.data.dqmp.domain.TblResultCheckRefer; import com.gmei.data.dqmp.domain.TblResultCheckRefer;
import com.gmei.data.dqmp.domain.TblResultCheckUnblank; import com.gmei.data.dqmp.domain.TblResultCheckUnblank;
import com.gmei.data.dqmp.domain.TblResultCheckUnique; import com.gmei.data.dqmp.domain.TblResultCheckUnique;
import com.gmei.data.dqmp.mapper.TblCheckMultipleSqlMapper; import com.gmei.data.dqmp.domain.TblSqlCheckMultiple;
import com.gmei.data.dqmp.mapper.TblCheckSingleSqlMapper; import com.gmei.data.dqmp.domain.TblSqlCheckMultipleCriteria;
import com.gmei.data.dqmp.domain.TblSqlCheckSingle;
import com.gmei.data.dqmp.domain.TblSqlCheckSingleCriteria;
import com.gmei.data.dqmp.mapper.TblResultCheckReferMapper; import com.gmei.data.dqmp.mapper.TblResultCheckReferMapper;
import com.gmei.data.dqmp.mapper.TblResultCheckUnblankMapper; import com.gmei.data.dqmp.mapper.TblResultCheckUnblankMapper;
import com.gmei.data.dqmp.mapper.TblResultCheckUniqueMapper; import com.gmei.data.dqmp.mapper.TblResultCheckUniqueMapper;
import com.gmei.data.dqmp.mapper.TblSqlCheckMultipleMapper;
import com.gmei.data.dqmp.mapper.TblSqlCheckSingleMapper;
import com.gmei.data.dqmp.pool.JdbcConnectPool; import com.gmei.data.dqmp.pool.JdbcConnectPool;
import com.gmei.data.dqmp.service.CheckService; import com.gmei.data.dqmp.service.CheckService;
import com.gmei.data.dqmp.utils.DateUtils; import com.gmei.data.dqmp.utils.DateUtils;
...@@ -32,9 +32,9 @@ import com.gmei.data.dqmp.utils.DateUtils; ...@@ -32,9 +32,9 @@ import com.gmei.data.dqmp.utils.DateUtils;
public class CheckServiceImpl implements CheckService { public class CheckServiceImpl implements CheckService {
@Autowired @Autowired
private TblCheckSingleSqlMapper tblCheckSingleSqlMapper; private TblSqlCheckSingleMapper tblSqlCheckSingleMapper;
@Autowired @Autowired
private TblCheckMultipleSqlMapper tblCheckMultipleSqlMapper; private TblSqlCheckMultipleMapper tblSqlCheckMultipleMapper;
@Autowired @Autowired
private TblResultCheckUniqueMapper tblResultCheckUniqueMapper; private TblResultCheckUniqueMapper tblResultCheckUniqueMapper;
@Autowired @Autowired
...@@ -49,12 +49,12 @@ public class CheckServiceImpl implements CheckService { ...@@ -49,12 +49,12 @@ public class CheckServiceImpl implements CheckService {
*/ */
@Override @Override
public void checkAndPersistSimpleResult(String checkType) { public void checkAndPersistSimpleResult(String checkType) {
TblCheckSingleSqlCriteria tblCheckSingleSqlCriteria = new TblCheckSingleSqlCriteria(); TblSqlCheckSingleCriteria tblCheckSingleSqlCriteria = new TblSqlCheckSingleCriteria();
tblCheckSingleSqlCriteria.createCriteria() tblCheckSingleSqlCriteria.createCriteria()
.andCheckTypeEqualTo(checkType) .andCheckTypeEqualTo(checkType)
.andIsValidEqualTo(Constants.IS_VALID_ON); .andIsValidEqualTo(Constants.IS_VALID_ON);
List<TblCheckSingleSql> sqlList = tblCheckSingleSqlMapper.selectByExampleWithBLOBs(tblCheckSingleSqlCriteria); List<TblSqlCheckSingle> sqlList = tblSqlCheckSingleMapper.selectByExampleWithBLOBs(tblCheckSingleSqlCriteria);
for (TblCheckSingleSql tblCheckSql : sqlList) { for (TblSqlCheckSingle tblCheckSql : sqlList) {
String sql = tblCheckSql.getSqlContent(); String sql = tblCheckSql.getSqlContent();
int rs = 0; int rs = 0;
if (Constants.CHECK_UNIQUE.equals(tblCheckSql.getCheckType())) { if (Constants.CHECK_UNIQUE.equals(tblCheckSql.getCheckType())) {
...@@ -86,12 +86,12 @@ public class CheckServiceImpl implements CheckService { ...@@ -86,12 +86,12 @@ public class CheckServiceImpl implements CheckService {
*/ */
@Override @Override
public void checkAndPersistMultipleResult(String checkType) { public void checkAndPersistMultipleResult(String checkType) {
TblCheckMultipleSqlCriteria tblCheckMultipleSqlCriteria = new TblCheckMultipleSqlCriteria(); TblSqlCheckMultipleCriteria tblCheckMultipleSqlCriteria = new TblSqlCheckMultipleCriteria();
tblCheckMultipleSqlCriteria.createCriteria() tblCheckMultipleSqlCriteria.createCriteria()
.andCheckTypeEqualTo(checkType) .andCheckTypeEqualTo(checkType)
.andIsValidEqualTo(Constants.IS_VALID_ON); .andIsValidEqualTo(Constants.IS_VALID_ON);
List<TblCheckMultipleSql> sqlList = tblCheckMultipleSqlMapper.selectByExampleWithBLOBs(tblCheckMultipleSqlCriteria); List<TblSqlCheckMultiple> sqlList = tblSqlCheckMultipleMapper.selectByExampleWithBLOBs(tblCheckMultipleSqlCriteria);
for (TblCheckMultipleSql tblCheckSql : sqlList) { for (TblSqlCheckMultiple tblCheckSql : sqlList) {
String sql = tblCheckSql.getSqlContent(); String sql = tblCheckSql.getSqlContent();
int rs = 0; int rs = 0;
if (Constants.CHECK_REFER.equals(tblCheckSql.getCheckType())) { if (Constants.CHECK_REFER.equals(tblCheckSql.getCheckType())) {
......
...@@ -12,24 +12,24 @@ import org.springframework.stereotype.Service; ...@@ -12,24 +12,24 @@ import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import com.gmei.data.dqmp.common.Constants; import com.gmei.data.dqmp.common.Constants;
import com.gmei.data.dqmp.domain.TblCheckMultipleSql; import com.gmei.data.dqmp.domain.TblSqlCheckMultiple;
import com.gmei.data.dqmp.domain.TblCheckSingleSql; import com.gmei.data.dqmp.domain.TblSqlCheckSingle;
import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo; import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo;
import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria; import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria;
import com.gmei.data.dqmp.domain.TblMonitorSpecialSql; import com.gmei.data.dqmp.domain.TblSqlMonitorSpecial;
import com.gmei.data.dqmp.domain.TblMonitorVolatilitySql; import com.gmei.data.dqmp.domain.TblSqlMonitorVolatility;
import com.gmei.data.dqmp.domain.TblRuleDuplexInfoWithBLOBs; import com.gmei.data.dqmp.domain.TblRuleInfoDuplexWithBLOBs;
import com.gmei.data.dqmp.domain.TblRuleSimpleInfo; import com.gmei.data.dqmp.domain.TblRuleInfoSimple;
import com.gmei.data.dqmp.domain.TblRuleTemplate; import com.gmei.data.dqmp.domain.TblRuleTemplate;
import com.gmei.data.dqmp.domain.TblRuleTemplateCriteria; import com.gmei.data.dqmp.domain.TblRuleTemplateCriteria;
import com.gmei.data.dqmp.mapper.TblCheckMultipleSqlMapper;
import com.gmei.data.dqmp.mapper.TblCheckSingleSqlMapper;
import com.gmei.data.dqmp.mapper.TblIndicatorOperatorInfoMapper; import com.gmei.data.dqmp.mapper.TblIndicatorOperatorInfoMapper;
import com.gmei.data.dqmp.mapper.TblMonitorSpecialSqlMapper; import com.gmei.data.dqmp.mapper.TblRuleInfoDuplexMapper;
import com.gmei.data.dqmp.mapper.TblMonitorVolatilitySqlMapper; import com.gmei.data.dqmp.mapper.TblRuleInfoSimpleMapper;
import com.gmei.data.dqmp.mapper.TblRuleDuplexInfoMapper;
import com.gmei.data.dqmp.mapper.TblRuleSimpleInfoMapper;
import com.gmei.data.dqmp.mapper.TblRuleTemplateMapper; import com.gmei.data.dqmp.mapper.TblRuleTemplateMapper;
import com.gmei.data.dqmp.mapper.TblSqlCheckMultipleMapper;
import com.gmei.data.dqmp.mapper.TblSqlCheckSingleMapper;
import com.gmei.data.dqmp.mapper.TblSqlMonitorSpecialMapper;
import com.gmei.data.dqmp.mapper.TblSqlMonitorVolatilityMapper;
import com.gmei.data.dqmp.service.DqRuleService; import com.gmei.data.dqmp.service.DqRuleService;
import com.gmei.data.dqmp.utils.BeanUtils; import com.gmei.data.dqmp.utils.BeanUtils;
import com.gmei.data.dqmp.utils.DateUtils; import com.gmei.data.dqmp.utils.DateUtils;
...@@ -39,17 +39,17 @@ import com.gmei.data.dqmp.vo.DqRuleVo; ...@@ -39,17 +39,17 @@ import com.gmei.data.dqmp.vo.DqRuleVo;
public class DqRuleServiceImpl implements DqRuleService { public class DqRuleServiceImpl implements DqRuleService {
@Autowired @Autowired
private TblRuleSimpleInfoMapper tblRuleSimpleInfoMapper; private TblRuleInfoSimpleMapper tblRuleInfoSimpleMapper;
@Autowired @Autowired
private TblRuleDuplexInfoMapper tblRuleDuplexInfoMapper; private TblRuleInfoDuplexMapper tblRuleInfoDuplexMapper;
@Autowired @Autowired
private TblCheckSingleSqlMapper tblCheckSingleSqlMapper; private TblSqlCheckSingleMapper tblSqlCheckSingleMapper;
@Autowired @Autowired
private TblCheckMultipleSqlMapper tblCheckMultipleSqlMapper; private TblSqlCheckMultipleMapper tblSqlCheckMultipleMapper;
@Autowired @Autowired
private TblMonitorVolatilitySqlMapper tblMonitorVolatilitySqlMapper; private TblSqlMonitorVolatilityMapper tblSqlMonitorVolatilityMapper;
@Autowired @Autowired
private TblMonitorSpecialSqlMapper tblMonitorSpecialSqlMapper; private TblSqlMonitorSpecialMapper tblSqlMonitorSpecialMapper;
@Autowired @Autowired
private TblRuleTemplateMapper tblRuleTemplateMapper; private TblRuleTemplateMapper tblRuleTemplateMapper;
@Autowired @Autowired
...@@ -83,39 +83,39 @@ public class DqRuleServiceImpl implements DqRuleService { ...@@ -83,39 +83,39 @@ public class DqRuleServiceImpl implements DqRuleService {
logger.error("Param is illegal! {}",dqRuleVo); logger.error("Param is illegal! {}",dqRuleVo);
return false; return false;
} }
TblRuleSimpleInfo record = BeanUtils.map(dqRuleVo, TblRuleSimpleInfo.class); TblRuleInfoSimple record = BeanUtils.map(dqRuleVo, TblRuleInfoSimple.class);
int rs = tblRuleSimpleInfoMapper.insertSelective(record); int rs = tblRuleInfoSimpleMapper.insertSelective(record);
if (rs == 1) { if (rs == 1) {
String checkType = dqRuleVo.getCheckType(); String checkType = dqRuleVo.getCheckType();
switch (checkType) { switch (checkType) {
case Constants.CHECK_UNIQUE: case Constants.CHECK_UNIQUE:
TblCheckSingleSql tblCheckSingleSql = BeanUtils.map(dqRuleVo, TblCheckSingleSql.class); TblSqlCheckSingle TblSqlCheckSingle = BeanUtils.map(dqRuleVo, TblSqlCheckSingle.class);
tblCheckSingleSql.setSqlContent(genSqlByTemplate(dqRuleVo)); TblSqlCheckSingle.setSqlContent(genSqlByTemplate(dqRuleVo));
tblCheckSingleSqlMapper.insertSelective(tblCheckSingleSql); tblSqlCheckSingleMapper.insertSelective(TblSqlCheckSingle);
break; break;
case Constants.CHECK_UNBLANK: case Constants.CHECK_UNBLANK:
TblCheckSingleSql tcss = BeanUtils.map(dqRuleVo, TblCheckSingleSql.class); TblSqlCheckSingle tcss = BeanUtils.map(dqRuleVo, TblSqlCheckSingle.class);
tcss.setSqlContent(genSqlByTemplate(dqRuleVo)); tcss.setSqlContent(genSqlByTemplate(dqRuleVo));
tblCheckSingleSqlMapper.insertSelective(tcss); tblSqlCheckSingleMapper.insertSelective(tcss);
break; break;
case Constants.CHECK_VOLATILITY: case Constants.CHECK_VOLATILITY:
if(!volatilityRuleParamsCheck(dqRuleVo)) { if(!volatilityRuleParamsCheck(dqRuleVo)) {
logger.error("Param is illegal! {}",dqRuleVo); logger.error("Param is illegal! {}",dqRuleVo);
return false; return false;
} }
TblMonitorVolatilitySql tblMonitorVolatilitySql = BeanUtils.map(dqRuleVo, TblSqlMonitorVolatility TblSqlMonitorVolatility = BeanUtils.map(dqRuleVo,
TblMonitorVolatilitySql.class); TblSqlMonitorVolatility.class);
tblMonitorVolatilitySql.setSqlContent(genSqlByTemplate(dqRuleVo)); TblSqlMonitorVolatility.setSqlContent(genSqlByTemplate(dqRuleVo));
tblMonitorVolatilitySqlMapper.insertSelective(tblMonitorVolatilitySql); tblSqlMonitorVolatilityMapper.insertSelective(TblSqlMonitorVolatility);
break; break;
case Constants.CHECK_SPECIAL: case Constants.CHECK_SPECIAL:
if(!specialRuleParamsCheck(dqRuleVo)) { if(!specialRuleParamsCheck(dqRuleVo)) {
logger.error("Param is illegal! {}",dqRuleVo); logger.error("Param is illegal! {}",dqRuleVo);
return false; return false;
} }
TblMonitorSpecialSql tblMonitorSpecialSql = BeanUtils.map(dqRuleVo, TblMonitorSpecialSql.class); TblSqlMonitorSpecial TblSqlMonitorSpecial = BeanUtils.map(dqRuleVo, TblSqlMonitorSpecial.class);
tblMonitorSpecialSql.setSqlContent(genSqlByTemplate(dqRuleVo)); TblSqlMonitorSpecial.setSqlContent(genSqlByTemplate(dqRuleVo));
tblMonitorSpecialSqlMapper.insertSelective(tblMonitorSpecialSql); tblSqlMonitorSpecialMapper.insertSelective(TblSqlMonitorSpecial);
break; break;
default: default:
logger.error("checkType value is error! {}", checkType); logger.error("checkType value is error! {}", checkType);
...@@ -135,15 +135,15 @@ public class DqRuleServiceImpl implements DqRuleService { ...@@ -135,15 +135,15 @@ public class DqRuleServiceImpl implements DqRuleService {
logger.error("Param is illegal! {}",dqRuleVo); logger.error("Param is illegal! {}",dqRuleVo);
return false; return false;
} }
TblRuleDuplexInfoWithBLOBs record = BeanUtils.map(dqRuleVo, TblRuleDuplexInfoWithBLOBs.class); TblRuleInfoDuplexWithBLOBs record = BeanUtils.map(dqRuleVo, TblRuleInfoDuplexWithBLOBs.class);
int rs = tblRuleDuplexInfoMapper.insertSelective(record); int rs = tblRuleInfoDuplexMapper.insertSelective(record);
if (rs == 1) { if (rs == 1) {
String checkType = dqRuleVo.getCheckType(); String checkType = dqRuleVo.getCheckType();
if (Constants.CHECK_REFER.equals(checkType)) { if (Constants.CHECK_REFER.equals(checkType)) {
TblCheckMultipleSql tblCheckMultipleSql = BeanUtils.map(dqRuleVo, TblCheckMultipleSql.class); TblSqlCheckMultiple TblSqlCheckMultiple = BeanUtils.map(dqRuleVo, TblSqlCheckMultiple.class);
String sqlContent = genSqlByTemplate(dqRuleVo); String sqlContent = genSqlByTemplate(dqRuleVo);
tblCheckMultipleSql.setSqlContent(sqlContent); TblSqlCheckMultiple.setSqlContent(sqlContent);
tblCheckMultipleSqlMapper.insertSelective(tblCheckMultipleSql); tblSqlCheckMultipleMapper.insertSelective(TblSqlCheckMultiple);
} else { } else {
logger.error("checkType value is error! {}", checkType); logger.error("checkType value is error! {}", checkType);
return false; return false;
...@@ -178,9 +178,7 @@ public class DqRuleServiceImpl implements DqRuleService { ...@@ -178,9 +178,7 @@ public class DqRuleServiceImpl implements DqRuleService {
} }
private boolean specialRuleParamsCheck(DqRuleVo dqRuleVo) { private boolean specialRuleParamsCheck(DqRuleVo dqRuleVo) {
if(StringUtils.isBlank(dqRuleVo.getTimeColName()) || StringUtils.isBlank(dqRuleVo.getStartTime()) if(StringUtils.isBlank(dqRuleVo.getTimeColName()) || StringUtils.isBlank(dqRuleVo.getStartTime())) {
//|| StringUtils.isBlank(dqRuleVo.getEndTime())
) {
return false; return false;
} }
return true; return true;
...@@ -189,9 +187,7 @@ public class DqRuleServiceImpl implements DqRuleService { ...@@ -189,9 +187,7 @@ public class DqRuleServiceImpl implements DqRuleService {
private boolean duplexRuleInfoCheck(DqRuleVo dqRuleVo) { private boolean duplexRuleInfoCheck(DqRuleVo dqRuleVo) {
if(StringUtils.isBlank(dqRuleVo.getCheckDbName()) || StringUtils.isBlank(dqRuleVo.getCheckTbName()) if(StringUtils.isBlank(dqRuleVo.getCheckDbName()) || StringUtils.isBlank(dqRuleVo.getCheckTbName())
|| StringUtils.isBlank(dqRuleVo.getCheckColName()) || StringUtils.isBlank(dqRuleVo.getReferColName()) || StringUtils.isBlank(dqRuleVo.getCheckColName()) || StringUtils.isBlank(dqRuleVo.getReferColName())
|| StringUtils.isBlank(dqRuleVo.getReferDbName()) || StringUtils.isBlank(dqRuleVo.getReferTbName()) || StringUtils.isBlank(dqRuleVo.getReferDbName()) || StringUtils.isBlank(dqRuleVo.getReferTbName())) {
//|| StringUtils.isBlank(dqRuleVo.getCheckFilters()) || StringUtils.isBlank(dqRuleVo.getReferfilters())
) {
return false; return false;
} }
return true; return true;
...@@ -206,7 +202,7 @@ public class DqRuleServiceImpl implements DqRuleService { ...@@ -206,7 +202,7 @@ public class DqRuleServiceImpl implements DqRuleService {
TblIndicatorOperatorInfoCriteria tblIndicatorOperatorInfoCriteria = new TblIndicatorOperatorInfoCriteria(); TblIndicatorOperatorInfoCriteria tblIndicatorOperatorInfoCriteria = new TblIndicatorOperatorInfoCriteria();
List<TblIndicatorOperatorInfo> tblIndicatorOperatorInfos = tblIndicatorOperatorInfoMapper.selectByExample(tblIndicatorOperatorInfoCriteria); List<TblIndicatorOperatorInfo> tblIndicatorOperatorInfos = tblIndicatorOperatorInfoMapper.selectByExample(tblIndicatorOperatorInfoCriteria);
for(TblIndicatorOperatorInfo tblIndicatorOperatorInfo : tblIndicatorOperatorInfos) { for(TblIndicatorOperatorInfo tblIndicatorOperatorInfo : tblIndicatorOperatorInfos) {
indicatorMap.put(tblIndicatorOperatorInfo.getIndicatorName(), tblIndicatorOperatorInfo.getOperatorExpr()); indicatorMap.put(tblIndicatorOperatorInfo.getIndicatorType(), tblIndicatorOperatorInfo.getOperatorExpr());
} }
String indicatorType = dqRuleVo.getIndicatorType(); String indicatorType = dqRuleVo.getIndicatorType();
String rs = tpltContent String rs = tpltContent
...@@ -215,7 +211,7 @@ public class DqRuleServiceImpl implements DqRuleService { ...@@ -215,7 +211,7 @@ public class DqRuleServiceImpl implements DqRuleService {
.replaceAll("#indicator_type", indicatorType) .replaceAll("#indicator_type", indicatorType)
.replaceAll("#indicator_expre", indicatorMap.get(indicatorType)) .replaceAll("#indicator_expre", indicatorMap.get(indicatorType))
.replaceAll("#col_name", dqRuleVo.getColName()) .replaceAll("#col_name", dqRuleVo.getColName())
.replaceAll("#start_time", "'"+dqRuleVo.getStartTime()+"'") .replaceAll("#start_time", "'"+DateUtils.getZeroTimeStrsMap().get(dqRuleVo.getStartTime())+"'")
.replaceAll("#end_time", "'"+DateUtils.getTodayZeroTimeStr()+"'") .replaceAll("#end_time", "'"+DateUtils.getTodayZeroTimeStr()+"'")
.replaceAll("#check_db_name", dqRuleVo.getCheckDbName()) .replaceAll("#check_db_name", dqRuleVo.getCheckDbName())
.replaceAll("#check_tb_name", dqRuleVo.getCheckTbName()) .replaceAll("#check_tb_name", dqRuleVo.getCheckTbName())
......
...@@ -12,16 +12,16 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -12,16 +12,16 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.gmei.data.dqmp.common.Constants; import com.gmei.data.dqmp.common.Constants;
import com.gmei.data.dqmp.domain.TblMonitorSpecialSql;
import com.gmei.data.dqmp.domain.TblMonitorSpecialSqlCriteria;
import com.gmei.data.dqmp.domain.TblMonitorVolatilitySql;
import com.gmei.data.dqmp.domain.TblMonitorVolatilitySqlCriteria;
import com.gmei.data.dqmp.domain.TblResultMonitorSpecial; import com.gmei.data.dqmp.domain.TblResultMonitorSpecial;
import com.gmei.data.dqmp.domain.TblResultMonitorVolatility; import com.gmei.data.dqmp.domain.TblResultMonitorVolatility;
import com.gmei.data.dqmp.mapper.TblMonitorSpecialSqlMapper; import com.gmei.data.dqmp.domain.TblSqlMonitorSpecial;
import com.gmei.data.dqmp.mapper.TblMonitorVolatilitySqlMapper; import com.gmei.data.dqmp.domain.TblSqlMonitorSpecialCriteria;
import com.gmei.data.dqmp.domain.TblSqlMonitorVolatility;
import com.gmei.data.dqmp.domain.TblSqlMonitorVolatilityCriteria;
import com.gmei.data.dqmp.mapper.TblResultMonitorSpecialMapper; import com.gmei.data.dqmp.mapper.TblResultMonitorSpecialMapper;
import com.gmei.data.dqmp.mapper.TblResultMonitorVolatilityMapper; import com.gmei.data.dqmp.mapper.TblResultMonitorVolatilityMapper;
import com.gmei.data.dqmp.mapper.TblSqlMonitorSpecialMapper;
import com.gmei.data.dqmp.mapper.TblSqlMonitorVolatilityMapper;
import com.gmei.data.dqmp.pool.JdbcConnectPool; import com.gmei.data.dqmp.pool.JdbcConnectPool;
import com.gmei.data.dqmp.service.MonitorService; import com.gmei.data.dqmp.service.MonitorService;
import com.gmei.data.dqmp.utils.DateUtils; import com.gmei.data.dqmp.utils.DateUtils;
...@@ -32,9 +32,9 @@ public class MonitorServiceImpl implements MonitorService { ...@@ -32,9 +32,9 @@ public class MonitorServiceImpl implements MonitorService {
private static final Logger logger = LoggerFactory.getLogger(MonitorServiceImpl.class); private static final Logger logger = LoggerFactory.getLogger(MonitorServiceImpl.class);
@Autowired @Autowired
private TblMonitorVolatilitySqlMapper tblMonitorVolatilitySqlMapper; private TblSqlMonitorVolatilityMapper tblSqlMonitorVolatilityMapper;
@Autowired @Autowired
private TblMonitorSpecialSqlMapper tblMonitorSpecialSqlMapper; private TblSqlMonitorSpecialMapper tblSqlMonitorSpecialMapper;
@Autowired @Autowired
private TblResultMonitorVolatilityMapper tblResultMonitorVolatilityMapper; private TblResultMonitorVolatilityMapper tblResultMonitorVolatilityMapper;
@Autowired @Autowired
...@@ -47,11 +47,11 @@ public class MonitorServiceImpl implements MonitorService { ...@@ -47,11 +47,11 @@ public class MonitorServiceImpl implements MonitorService {
*/ */
@Override @Override
public void monitorAndPersistVolatilityResult(String indicatorType) { public void monitorAndPersistVolatilityResult(String indicatorType) {
TblMonitorVolatilitySqlCriteria tblmonitorVolatilitySqlCriteria = new TblMonitorVolatilitySqlCriteria(); TblSqlMonitorVolatilityCriteria tblmonitorVolatilitySqlCriteria = new TblSqlMonitorVolatilityCriteria();
tblmonitorVolatilitySqlCriteria.createCriteria().andIndicatorTypeEqualTo(indicatorType).andIsValidEqualTo(Constants.IS_VALID_ON); tblmonitorVolatilitySqlCriteria.createCriteria().andIndicatorTypeEqualTo(indicatorType).andIsValidEqualTo(Constants.IS_VALID_ON);
List<TblMonitorVolatilitySql> sqlList = tblMonitorVolatilitySqlMapper List<TblSqlMonitorVolatility> sqlList = tblSqlMonitorVolatilityMapper
.selectByExampleWithBLOBs(tblmonitorVolatilitySqlCriteria); .selectByExampleWithBLOBs(tblmonitorVolatilitySqlCriteria);
for (TblMonitorVolatilitySql tblCheckSql : sqlList) { for (TblSqlMonitorVolatility tblCheckSql : sqlList) {
String sql = tblCheckSql.getSqlContent(); String sql = tblCheckSql.getSqlContent();
int rs = 0; int rs = 0;
TblResultMonitorVolatility tblResultMonitorVolatility = getMonitorVolatilityResult(sql, indicatorType); TblResultMonitorVolatility tblResultMonitorVolatility = getMonitorVolatilityResult(sql, indicatorType);
...@@ -74,11 +74,11 @@ public class MonitorServiceImpl implements MonitorService { ...@@ -74,11 +74,11 @@ public class MonitorServiceImpl implements MonitorService {
*/ */
@Override @Override
public void monitorAndPersistSpecialResult() { public void monitorAndPersistSpecialResult() {
TblMonitorSpecialSqlCriteria tblMonitorSpecialSqlCriteria = new TblMonitorSpecialSqlCriteria(); TblSqlMonitorSpecialCriteria tblMonitorSpecialSqlCriteria = new TblSqlMonitorSpecialCriteria();
tblMonitorSpecialSqlCriteria.createCriteria().andIsValidEqualTo(Constants.IS_VALID_ON); tblMonitorSpecialSqlCriteria.createCriteria().andIsValidEqualTo(Constants.IS_VALID_ON);
List<TblMonitorSpecialSql> sqlList = tblMonitorSpecialSqlMapper List<TblSqlMonitorSpecial> sqlList = tblSqlMonitorSpecialMapper
.selectByExampleWithBLOBs(tblMonitorSpecialSqlCriteria); .selectByExampleWithBLOBs(tblMonitorSpecialSqlCriteria);
for (TblMonitorSpecialSql tblCheckSql : sqlList) { for (TblSqlMonitorSpecial tblCheckSql : sqlList) {
String sql = tblCheckSql.getSqlContent(); String sql = tblCheckSql.getSqlContent();
int rs = 0; int rs = 0;
TblResultMonitorSpecial tblResultMonitorSpecial = getMonitorSpecialResult(sql); TblResultMonitorSpecial tblResultMonitorSpecial = getMonitorSpecialResult(sql);
...@@ -154,8 +154,8 @@ public class MonitorServiceImpl implements MonitorService { ...@@ -154,8 +154,8 @@ public class MonitorServiceImpl implements MonitorService {
tblResultMonitorSpecial.setTbName(rs.getString("tb_name")); tblResultMonitorSpecial.setTbName(rs.getString("tb_name"));
tblResultMonitorSpecial.setTimeColName(rs.getString("time_col_name")); tblResultMonitorSpecial.setTimeColName(rs.getString("time_col_name"));
tblResultMonitorSpecial.setStartTime(rs.getString("start_time")); tblResultMonitorSpecial.setStartTime(rs.getString("start_time"));
tblResultMonitorSpecial.setEndTime(rs.getString("end_time")); tblResultMonitorSpecial.setIndicatorType(rs.getString("indicator_type"));
tblResultMonitorSpecial.setCountNum(rs.getLong("count_num")); tblResultMonitorSpecial.setIndicatorValue(rs.getLong("indicator_value"));
tblResultMonitorSpecial.setPartitionDate(rs.getString("partition_date")); tblResultMonitorSpecial.setPartitionDate(rs.getString("partition_date"));
tblResultMonitorSpecial.setCreateTime(rs.getString("create_time")); tblResultMonitorSpecial.setCreateTime(rs.getString("create_time"));
} }
......
package com.gmei.data.dqmp.utils; package com.gmei.data.dqmp.utils;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Calendar; import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
public class DateUtils { public class DateUtils {
...@@ -52,7 +56,53 @@ public class DateUtils { ...@@ -52,7 +56,53 @@ public class DateUtils {
return new SimpleDateFormat(DATE_FORMATE_YMDHMSS).format(cld.getTime()); return new SimpleDateFormat(DATE_FORMATE_YMDHMSS).format(cld.getTime());
} }
/**
* 根据时间类型,获取当天0时0分0秒0毫秒时间字符串
*
* @return
*/
public static String getZeroTimeStrByTimeType(String timeType) {
Calendar cld = Calendar.getInstance();
cld.setTime(new Date());
switch (timeType) {
case "0":
cld.add(Calendar.DAY_OF_MONTH, -1);
break;
case "1":
cld.add(Calendar.DAY_OF_MONTH, -2);
break;
case "2":
cld.add(Calendar.DAY_OF_MONTH, -3);
break;
case "3":
cld.add(Calendar.DAY_OF_MONTH, -7);
break;
case "4":
cld.add(Calendar.DAY_OF_MONTH, -30);
break;
default:
cld.add(Calendar.DAY_OF_MONTH, -1);
}
cld.set(Calendar.HOUR_OF_DAY, 0);
cld.set(Calendar.MINUTE, 0);
cld.set(Calendar.SECOND, 0);
cld.set(Calendar.MILLISECOND, 0);
return new SimpleDateFormat(DATE_FORMATE_YMDHMSS).format(cld.getTime());
}
public static Map<String,String> getZeroTimeStrsMap(){
Map<String,String> map = new HashMap<>();
String[] array = {"0","1","2","3","4"};
for(String timeType : Arrays.asList(array)) {
map.put(timeType, getZeroTimeStrByTimeType(timeType));
}
return map;
}
public static void main(String[] args) { public static void main(String[] args) {
System.out.println(getTodayZeroTimeStr()); Map<String, String> zeroTimeStrsMap = getZeroTimeStrsMap();
for(Entry<String, String> entry : zeroTimeStrsMap.entrySet()) {
System.out.println(entry.getKey() + "---" + entry.getValue());
}
} }
} }
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblIndicatorOperatorInfoMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="indicator_type" property="indicatorType" jdbcType="VARCHAR" />
<result column="operator_expr" property="operatorExpr" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, indicator_type, operator_expr, comment
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_indicator_operator_info
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from tbl_indicator_operator_info
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_indicator_operator_info
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria" >
delete from tbl_indicator_operator_info
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
insert into tbl_indicator_operator_info (id, indicator_type, operator_expr,
comment)
values (#{id,jdbcType=INTEGER}, #{indicatorType,jdbcType=VARCHAR}, #{operatorExpr,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
insert into tbl_indicator_operator_info
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="indicatorType != null" >
indicator_type,
</if>
<if test="operatorExpr != null" >
operator_expr,
</if>
<if test="comment != null" >
comment,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="indicatorType != null" >
#{indicatorType,jdbcType=VARCHAR},
</if>
<if test="operatorExpr != null" >
#{operatorExpr,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_indicator_operator_info
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_indicator_operator_info
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.indicatorType != null" >
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if test="record.operatorExpr != null" >
operator_expr = #{record.operatorExpr,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_indicator_operator_info
set id = #{record.id,jdbcType=INTEGER},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
operator_expr = #{record.operatorExpr,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
update tbl_indicator_operator_info
<set >
<if test="indicatorType != null" >
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if test="operatorExpr != null" >
operator_expr = #{operatorExpr,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
update tbl_indicator_operator_info
set indicator_type = #{indicatorType,jdbcType=VARCHAR},
operator_expr = #{operatorExpr,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblResultCheckReferMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblResultCheckRefer" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="check_db_name" property="checkDbName" jdbcType="VARCHAR" />
<result column="check_tb_name" property="checkTbName" jdbcType="VARCHAR" />
<result column="check_col_name" property="checkColName" jdbcType="VARCHAR" />
<result column="refer_db_name" property="referDbName" jdbcType="VARCHAR" />
<result column="refer_tb_name" property="referTbName" jdbcType="VARCHAR" />
<result column="refer_col_name" property="referColName" jdbcType="VARCHAR" />
<result column="all_num" property="allNum" jdbcType="BIGINT" />
<result column="matched_num" property="matchedNum" jdbcType="BIGINT" />
<result column="matched_rate" property="matchedRate" jdbcType="DOUBLE" />
<result column="partition_date" property="partitionDate" jdbcType="VARCHAR" />
<result column="sql_id" property="sqlId" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="VARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, check_db_name, check_tb_name, check_col_name, refer_db_name, refer_tb_name, refer_col_name,
all_num, matched_num, matched_rate, partition_date, sql_id, create_time
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblResultCheckReferCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_result_check_refer
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from tbl_result_check_refer
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_result_check_refer
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblResultCheckReferCriteria" >
delete from tbl_result_check_refer
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblResultCheckRefer" >
insert into tbl_result_check_refer (id, check_db_name, check_tb_name,
check_col_name, refer_db_name, refer_tb_name,
refer_col_name, all_num, matched_num,
matched_rate, partition_date, sql_id,
create_time)
values (#{id,jdbcType=INTEGER}, #{checkDbName,jdbcType=VARCHAR}, #{checkTbName,jdbcType=VARCHAR},
#{checkColName,jdbcType=VARCHAR}, #{referDbName,jdbcType=VARCHAR}, #{referTbName,jdbcType=VARCHAR},
#{referColName,jdbcType=VARCHAR}, #{allNum,jdbcType=BIGINT}, #{matchedNum,jdbcType=BIGINT},
#{matchedRate,jdbcType=DOUBLE}, #{partitionDate,jdbcType=VARCHAR}, #{sqlId,jdbcType=INTEGER},
#{createTime,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblResultCheckRefer" >
insert into tbl_result_check_refer
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="checkDbName != null" >
check_db_name,
</if>
<if test="checkTbName != null" >
check_tb_name,
</if>
<if test="checkColName != null" >
check_col_name,
</if>
<if test="referDbName != null" >
refer_db_name,
</if>
<if test="referTbName != null" >
refer_tb_name,
</if>
<if test="referColName != null" >
refer_col_name,
</if>
<if test="allNum != null" >
all_num,
</if>
<if test="matchedNum != null" >
matched_num,
</if>
<if test="matchedRate != null" >
matched_rate,
</if>
<if test="partitionDate != null" >
partition_date,
</if>
<if test="sqlId != null" >
sql_id,
</if>
<if test="createTime != null" >
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="checkDbName != null" >
#{checkDbName,jdbcType=VARCHAR},
</if>
<if test="checkTbName != null" >
#{checkTbName,jdbcType=VARCHAR},
</if>
<if test="checkColName != null" >
#{checkColName,jdbcType=VARCHAR},
</if>
<if test="referDbName != null" >
#{referDbName,jdbcType=VARCHAR},
</if>
<if test="referTbName != null" >
#{referTbName,jdbcType=VARCHAR},
</if>
<if test="referColName != null" >
#{referColName,jdbcType=VARCHAR},
</if>
<if test="allNum != null" >
#{allNum,jdbcType=BIGINT},
</if>
<if test="matchedNum != null" >
#{matchedNum,jdbcType=BIGINT},
</if>
<if test="matchedRate != null" >
#{matchedRate,jdbcType=DOUBLE},
</if>
<if test="partitionDate != null" >
#{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
#{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblResultCheckReferCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_result_check_refer
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_result_check_refer
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.checkDbName != null" >
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
</if>
<if test="record.checkTbName != null" >
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
</if>
<if test="record.checkColName != null" >
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
</if>
<if test="record.referDbName != null" >
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
</if>
<if test="record.referTbName != null" >
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
</if>
<if test="record.referColName != null" >
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
</if>
<if test="record.allNum != null" >
all_num = #{record.allNum,jdbcType=BIGINT},
</if>
<if test="record.matchedNum != null" >
matched_num = #{record.matchedNum,jdbcType=BIGINT},
</if>
<if test="record.matchedRate != null" >
matched_rate = #{record.matchedRate,jdbcType=DOUBLE},
</if>
<if test="record.partitionDate != null" >
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
</if>
<if test="record.sqlId != null" >
sql_id = #{record.sqlId,jdbcType=INTEGER},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_result_check_refer
set id = #{record.id,jdbcType=INTEGER},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
all_num = #{record.allNum,jdbcType=BIGINT},
matched_num = #{record.matchedNum,jdbcType=BIGINT},
matched_rate = #{record.matchedRate,jdbcType=DOUBLE},
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
sql_id = #{record.sqlId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblResultCheckRefer" >
update tbl_result_check_refer
<set >
<if test="checkDbName != null" >
check_db_name = #{checkDbName,jdbcType=VARCHAR},
</if>
<if test="checkTbName != null" >
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
</if>
<if test="checkColName != null" >
check_col_name = #{checkColName,jdbcType=VARCHAR},
</if>
<if test="referDbName != null" >
refer_db_name = #{referDbName,jdbcType=VARCHAR},
</if>
<if test="referTbName != null" >
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
</if>
<if test="referColName != null" >
refer_col_name = #{referColName,jdbcType=VARCHAR},
</if>
<if test="allNum != null" >
all_num = #{allNum,jdbcType=BIGINT},
</if>
<if test="matchedNum != null" >
matched_num = #{matchedNum,jdbcType=BIGINT},
</if>
<if test="matchedRate != null" >
matched_rate = #{matchedRate,jdbcType=DOUBLE},
</if>
<if test="partitionDate != null" >
partition_date = #{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
sql_id = #{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblResultCheckRefer" >
update tbl_result_check_refer
set check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
all_num = #{allNum,jdbcType=BIGINT},
matched_num = #{matchedNum,jdbcType=BIGINT},
matched_rate = #{matchedRate,jdbcType=DOUBLE},
partition_date = #{partitionDate,jdbcType=VARCHAR},
sql_id = #{sqlId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblResultCheckUnblankMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblResultCheckUnblank" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="col_name" property="colName" jdbcType="VARCHAR" />
<result column="all_num" property="allNum" jdbcType="BIGINT" />
<result column="unblank_num" property="unblankNum" jdbcType="BIGINT" />
<result column="unblank_rate" property="unblankRate" jdbcType="DOUBLE" />
<result column="partition_date" property="partitionDate" jdbcType="VARCHAR" />
<result column="sql_id" property="sqlId" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="VARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, db_name, tb_name, col_name, all_num, unblank_num, unblank_rate, partition_date,
sql_id, create_time
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnblankCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_result_check_unblank
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from tbl_result_check_unblank
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_result_check_unblank
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnblankCriteria" >
delete from tbl_result_check_unblank
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnblank" >
insert into tbl_result_check_unblank (id, db_name, tb_name,
col_name, all_num, unblank_num,
unblank_rate, partition_date, sql_id,
create_time)
values (#{id,jdbcType=INTEGER}, #{dbName,jdbcType=VARCHAR}, #{tbName,jdbcType=VARCHAR},
#{colName,jdbcType=VARCHAR}, #{allNum,jdbcType=BIGINT}, #{unblankNum,jdbcType=BIGINT},
#{unblankRate,jdbcType=DOUBLE}, #{partitionDate,jdbcType=VARCHAR}, #{sqlId,jdbcType=INTEGER},
#{createTime,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnblank" >
insert into tbl_result_check_unblank
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="colName != null" >
col_name,
</if>
<if test="allNum != null" >
all_num,
</if>
<if test="unblankNum != null" >
unblank_num,
</if>
<if test="unblankRate != null" >
unblank_rate,
</if>
<if test="partitionDate != null" >
partition_date,
</if>
<if test="sqlId != null" >
sql_id,
</if>
<if test="createTime != null" >
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
#{colName,jdbcType=VARCHAR},
</if>
<if test="allNum != null" >
#{allNum,jdbcType=BIGINT},
</if>
<if test="unblankNum != null" >
#{unblankNum,jdbcType=BIGINT},
</if>
<if test="unblankRate != null" >
#{unblankRate,jdbcType=DOUBLE},
</if>
<if test="partitionDate != null" >
#{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
#{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnblankCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_result_check_unblank
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_result_check_unblank
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.colName != null" >
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if test="record.allNum != null" >
all_num = #{record.allNum,jdbcType=BIGINT},
</if>
<if test="record.unblankNum != null" >
unblank_num = #{record.unblankNum,jdbcType=BIGINT},
</if>
<if test="record.unblankRate != null" >
unblank_rate = #{record.unblankRate,jdbcType=DOUBLE},
</if>
<if test="record.partitionDate != null" >
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
</if>
<if test="record.sqlId != null" >
sql_id = #{record.sqlId,jdbcType=INTEGER},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_result_check_unblank
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
all_num = #{record.allNum,jdbcType=BIGINT},
unblank_num = #{record.unblankNum,jdbcType=BIGINT},
unblank_rate = #{record.unblankRate,jdbcType=DOUBLE},
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
sql_id = #{record.sqlId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnblank" >
update tbl_result_check_unblank
<set >
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if test="allNum != null" >
all_num = #{allNum,jdbcType=BIGINT},
</if>
<if test="unblankNum != null" >
unblank_num = #{unblankNum,jdbcType=BIGINT},
</if>
<if test="unblankRate != null" >
unblank_rate = #{unblankRate,jdbcType=DOUBLE},
</if>
<if test="partitionDate != null" >
partition_date = #{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
sql_id = #{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnblank" >
update tbl_result_check_unblank
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
all_num = #{allNum,jdbcType=BIGINT},
unblank_num = #{unblankNum,jdbcType=BIGINT},
unblank_rate = #{unblankRate,jdbcType=DOUBLE},
partition_date = #{partitionDate,jdbcType=VARCHAR},
sql_id = #{sqlId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblResultCheckUniqueMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblResultCheckUnique" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="col_name" property="colName" jdbcType="VARCHAR" />
<result column="all_num" property="allNum" jdbcType="BIGINT" />
<result column="unique_num" property="uniqueNum" jdbcType="BIGINT" />
<result column="unique_rate" property="uniqueRate" jdbcType="DOUBLE" />
<result column="partition_date" property="partitionDate" jdbcType="VARCHAR" />
<result column="sql_id" property="sqlId" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="VARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, db_name, tb_name, col_name, all_num, unique_num, unique_rate, partition_date,
sql_id, create_time
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUniqueCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_result_check_unique
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from tbl_result_check_unique
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_result_check_unique
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUniqueCriteria" >
delete from tbl_result_check_unique
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnique" >
insert into tbl_result_check_unique (id, db_name, tb_name,
col_name, all_num, unique_num,
unique_rate, partition_date, sql_id,
create_time)
values (#{id,jdbcType=INTEGER}, #{dbName,jdbcType=VARCHAR}, #{tbName,jdbcType=VARCHAR},
#{colName,jdbcType=VARCHAR}, #{allNum,jdbcType=BIGINT}, #{uniqueNum,jdbcType=BIGINT},
#{uniqueRate,jdbcType=DOUBLE}, #{partitionDate,jdbcType=VARCHAR}, #{sqlId,jdbcType=INTEGER},
#{createTime,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnique" >
insert into tbl_result_check_unique
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="colName != null" >
col_name,
</if>
<if test="allNum != null" >
all_num,
</if>
<if test="uniqueNum != null" >
unique_num,
</if>
<if test="uniqueRate != null" >
unique_rate,
</if>
<if test="partitionDate != null" >
partition_date,
</if>
<if test="sqlId != null" >
sql_id,
</if>
<if test="createTime != null" >
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
#{colName,jdbcType=VARCHAR},
</if>
<if test="allNum != null" >
#{allNum,jdbcType=BIGINT},
</if>
<if test="uniqueNum != null" >
#{uniqueNum,jdbcType=BIGINT},
</if>
<if test="uniqueRate != null" >
#{uniqueRate,jdbcType=DOUBLE},
</if>
<if test="partitionDate != null" >
#{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
#{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUniqueCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_result_check_unique
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_result_check_unique
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.colName != null" >
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if test="record.allNum != null" >
all_num = #{record.allNum,jdbcType=BIGINT},
</if>
<if test="record.uniqueNum != null" >
unique_num = #{record.uniqueNum,jdbcType=BIGINT},
</if>
<if test="record.uniqueRate != null" >
unique_rate = #{record.uniqueRate,jdbcType=DOUBLE},
</if>
<if test="record.partitionDate != null" >
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
</if>
<if test="record.sqlId != null" >
sql_id = #{record.sqlId,jdbcType=INTEGER},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_result_check_unique
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
all_num = #{record.allNum,jdbcType=BIGINT},
unique_num = #{record.uniqueNum,jdbcType=BIGINT},
unique_rate = #{record.uniqueRate,jdbcType=DOUBLE},
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
sql_id = #{record.sqlId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnique" >
update tbl_result_check_unique
<set >
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if test="allNum != null" >
all_num = #{allNum,jdbcType=BIGINT},
</if>
<if test="uniqueNum != null" >
unique_num = #{uniqueNum,jdbcType=BIGINT},
</if>
<if test="uniqueRate != null" >
unique_rate = #{uniqueRate,jdbcType=DOUBLE},
</if>
<if test="partitionDate != null" >
partition_date = #{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
sql_id = #{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblResultCheckUnique" >
update tbl_result_check_unique
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
all_num = #{allNum,jdbcType=BIGINT},
unique_num = #{uniqueNum,jdbcType=BIGINT},
unique_rate = #{uniqueRate,jdbcType=DOUBLE},
partition_date = #{partitionDate,jdbcType=VARCHAR},
sql_id = #{sqlId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblResultMonitorSpecialMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblResultMonitorSpecial" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="time_col_name" property="timeColName" jdbcType="VARCHAR" />
<result column="indicator_type" property="indicatorType" jdbcType="VARCHAR" />
<result column="indicator_value" property="indicatorValue" jdbcType="BIGINT" />
<result column="start_time" property="startTime" jdbcType="VARCHAR" />
<result column="partition_date" property="partitionDate" jdbcType="VARCHAR" />
<result column="sql_id" property="sqlId" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="VARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, db_name, tb_name, time_col_name, indicator_type, indicator_value, start_time,
partition_date, sql_id, create_time
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorSpecialCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_result_monitor_special
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from tbl_result_monitor_special
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_result_monitor_special
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorSpecialCriteria" >
delete from tbl_result_monitor_special
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorSpecial" >
insert into tbl_result_monitor_special (id, db_name, tb_name,
time_col_name, indicator_type, indicator_value,
start_time, partition_date, sql_id,
create_time)
values (#{id,jdbcType=INTEGER}, #{dbName,jdbcType=VARCHAR}, #{tbName,jdbcType=VARCHAR},
#{timeColName,jdbcType=VARCHAR}, #{indicatorType,jdbcType=VARCHAR}, #{indicatorValue,jdbcType=BIGINT},
#{startTime,jdbcType=VARCHAR}, #{partitionDate,jdbcType=VARCHAR}, #{sqlId,jdbcType=INTEGER},
#{createTime,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorSpecial" >
insert into tbl_result_monitor_special
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="timeColName != null" >
time_col_name,
</if>
<if test="indicatorType != null" >
indicator_type,
</if>
<if test="indicatorValue != null" >
indicator_value,
</if>
<if test="startTime != null" >
start_time,
</if>
<if test="partitionDate != null" >
partition_date,
</if>
<if test="sqlId != null" >
sql_id,
</if>
<if test="createTime != null" >
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="timeColName != null" >
#{timeColName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
#{indicatorType,jdbcType=VARCHAR},
</if>
<if test="indicatorValue != null" >
#{indicatorValue,jdbcType=BIGINT},
</if>
<if test="startTime != null" >
#{startTime,jdbcType=VARCHAR},
</if>
<if test="partitionDate != null" >
#{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
#{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorSpecialCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_result_monitor_special
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_result_monitor_special
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.timeColName != null" >
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
</if>
<if test="record.indicatorType != null" >
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if test="record.indicatorValue != null" >
indicator_value = #{record.indicatorValue,jdbcType=BIGINT},
</if>
<if test="record.startTime != null" >
start_time = #{record.startTime,jdbcType=VARCHAR},
</if>
<if test="record.partitionDate != null" >
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
</if>
<if test="record.sqlId != null" >
sql_id = #{record.sqlId,jdbcType=INTEGER},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_result_monitor_special
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
indicator_value = #{record.indicatorValue,jdbcType=BIGINT},
start_time = #{record.startTime,jdbcType=VARCHAR},
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
sql_id = #{record.sqlId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorSpecial" >
update tbl_result_monitor_special
<set >
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="timeColName != null" >
time_col_name = #{timeColName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if test="indicatorValue != null" >
indicator_value = #{indicatorValue,jdbcType=BIGINT},
</if>
<if test="startTime != null" >
start_time = #{startTime,jdbcType=VARCHAR},
</if>
<if test="partitionDate != null" >
partition_date = #{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
sql_id = #{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorSpecial" >
update tbl_result_monitor_special
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
time_col_name = #{timeColName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
indicator_value = #{indicatorValue,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=VARCHAR},
partition_date = #{partitionDate,jdbcType=VARCHAR},
sql_id = #{sqlId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblResultMonitorVolatilityMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblResultMonitorVolatility" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="col_name" property="colName" jdbcType="VARCHAR" />
<result column="indicator_type" property="indicatorType" jdbcType="VARCHAR" />
<result column="indicator_value" property="indicatorValue" jdbcType="BIGINT" />
<result column="partition_date" property="partitionDate" jdbcType="VARCHAR" />
<result column="sql_id" property="sqlId" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="VARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, db_name, tb_name, col_name, indicator_type, indicator_value, partition_date,
sql_id, create_time
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorVolatilityCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_result_monitor_volatility
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from tbl_result_monitor_volatility
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_result_monitor_volatility
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorVolatilityCriteria" >
delete from tbl_result_monitor_volatility
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorVolatility" >
insert into tbl_result_monitor_volatility (id, db_name, tb_name,
col_name, indicator_type, indicator_value,
partition_date, sql_id, create_time
)
values (#{id,jdbcType=INTEGER}, #{dbName,jdbcType=VARCHAR}, #{tbName,jdbcType=VARCHAR},
#{colName,jdbcType=VARCHAR}, #{indicatorType,jdbcType=VARCHAR}, #{indicatorValue,jdbcType=BIGINT},
#{partitionDate,jdbcType=VARCHAR}, #{sqlId,jdbcType=INTEGER}, #{createTime,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorVolatility" >
insert into tbl_result_monitor_volatility
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="colName != null" >
col_name,
</if>
<if test="indicatorType != null" >
indicator_type,
</if>
<if test="indicatorValue != null" >
indicator_value,
</if>
<if test="partitionDate != null" >
partition_date,
</if>
<if test="sqlId != null" >
sql_id,
</if>
<if test="createTime != null" >
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
#{colName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
#{indicatorType,jdbcType=VARCHAR},
</if>
<if test="indicatorValue != null" >
#{indicatorValue,jdbcType=BIGINT},
</if>
<if test="partitionDate != null" >
#{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
#{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorVolatilityCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_result_monitor_volatility
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_result_monitor_volatility
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.colName != null" >
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if test="record.indicatorType != null" >
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if test="record.indicatorValue != null" >
indicator_value = #{record.indicatorValue,jdbcType=BIGINT},
</if>
<if test="record.partitionDate != null" >
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
</if>
<if test="record.sqlId != null" >
sql_id = #{record.sqlId,jdbcType=INTEGER},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_result_monitor_volatility
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
indicator_value = #{record.indicatorValue,jdbcType=BIGINT},
partition_date = #{record.partitionDate,jdbcType=VARCHAR},
sql_id = #{record.sqlId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorVolatility" >
update tbl_result_monitor_volatility
<set >
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if test="indicatorValue != null" >
indicator_value = #{indicatorValue,jdbcType=BIGINT},
</if>
<if test="partitionDate != null" >
partition_date = #{partitionDate,jdbcType=VARCHAR},
</if>
<if test="sqlId != null" >
sql_id = #{sqlId,jdbcType=INTEGER},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblResultMonitorVolatility" >
update tbl_result_monitor_volatility
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
indicator_value = #{indicatorValue,jdbcType=BIGINT},
partition_date = #{partitionDate,jdbcType=VARCHAR},
sql_id = #{sqlId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblRuleInfoDuplexMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblRuleInfoDuplex" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="check_type" property="checkType" jdbcType="VARCHAR" />
<result column="check_db_name" property="checkDbName" jdbcType="VARCHAR" />
<result column="check_tb_name" property="checkTbName" jdbcType="VARCHAR" />
<result column="check_col_name" property="checkColName" jdbcType="VARCHAR" />
<result column="refer_db_name" property="referDbName" jdbcType="VARCHAR" />
<result column="refer_tb_name" property="referTbName" jdbcType="VARCHAR" />
<result column="refer_col_name" property="referColName" jdbcType="VARCHAR" />
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
<result column="check_time" property="checkTime" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="com.gmei.data.dqmp.domain.TblRuleInfoDuplexWithBLOBs" extends="BaseResultMap" >
<result column="check_filters" property="checkFilters" jdbcType="LONGVARCHAR" />
<result column="refer_filters" property="referFilters" jdbcType="LONGVARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, check_type, check_db_name, check_tb_name, check_col_name, refer_db_name, refer_tb_name,
refer_col_name, is_valid, check_time, comment, create_time
</sql>
<sql id="Blob_Column_List" >
check_filters, refer_filters
</sql>
<select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_rule_info_duplex
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_rule_info_duplex
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_rule_info_duplex
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_rule_info_duplex
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexCriteria" >
delete from tbl_rule_info_duplex
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexWithBLOBs" >
insert into tbl_rule_info_duplex (id, check_type, check_db_name,
check_tb_name, check_col_name, refer_db_name,
refer_tb_name, refer_col_name, is_valid,
check_time, comment, create_time,
check_filters, refer_filters)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{checkDbName,jdbcType=VARCHAR},
#{checkTbName,jdbcType=VARCHAR}, #{checkColName,jdbcType=VARCHAR}, #{referDbName,jdbcType=VARCHAR},
#{referTbName,jdbcType=VARCHAR}, #{referColName,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{checkFilters,jdbcType=LONGVARCHAR}, #{referFilters,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexWithBLOBs" >
insert into tbl_rule_info_duplex
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="checkType != null" >
check_type,
</if>
<if test="checkDbName != null" >
check_db_name,
</if>
<if test="checkTbName != null" >
check_tb_name,
</if>
<if test="checkColName != null" >
check_col_name,
</if>
<if test="referDbName != null" >
refer_db_name,
</if>
<if test="referTbName != null" >
refer_tb_name,
</if>
<if test="referColName != null" >
refer_col_name,
</if>
<if test="isValid != null" >
is_valid,
</if>
<if test="checkTime != null" >
check_time,
</if>
<if test="comment != null" >
comment,
</if>
<if test="createTime != null" >
create_time,
</if>
<if test="checkFilters != null" >
check_filters,
</if>
<if test="referFilters != null" >
refer_filters,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="checkType != null" >
#{checkType,jdbcType=VARCHAR},
</if>
<if test="checkDbName != null" >
#{checkDbName,jdbcType=VARCHAR},
</if>
<if test="checkTbName != null" >
#{checkTbName,jdbcType=VARCHAR},
</if>
<if test="checkColName != null" >
#{checkColName,jdbcType=VARCHAR},
</if>
<if test="referDbName != null" >
#{referDbName,jdbcType=VARCHAR},
</if>
<if test="referTbName != null" >
#{referTbName,jdbcType=VARCHAR},
</if>
<if test="referColName != null" >
#{referColName,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
#{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
#{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="checkFilters != null" >
#{checkFilters,jdbcType=LONGVARCHAR},
</if>
<if test="referFilters != null" >
#{referFilters,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_rule_info_duplex
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_rule_info_duplex
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.checkType != null" >
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if test="record.checkDbName != null" >
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
</if>
<if test="record.checkTbName != null" >
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
</if>
<if test="record.checkColName != null" >
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
</if>
<if test="record.referDbName != null" >
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
</if>
<if test="record.referTbName != null" >
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
</if>
<if test="record.referColName != null" >
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
</if>
<if test="record.isValid != null" >
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if test="record.checkTime != null" >
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.checkFilters != null" >
check_filters = #{record.checkFilters,jdbcType=LONGVARCHAR},
</if>
<if test="record.referFilters != null" >
refer_filters = #{record.referFilters,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map" >
update tbl_rule_info_duplex
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
check_filters = #{record.checkFilters,jdbcType=LONGVARCHAR},
refer_filters = #{record.referFilters,jdbcType=LONGVARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_rule_info_duplex
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexWithBLOBs" >
update tbl_rule_info_duplex
<set >
<if test="checkType != null" >
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if test="checkDbName != null" >
check_db_name = #{checkDbName,jdbcType=VARCHAR},
</if>
<if test="checkTbName != null" >
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
</if>
<if test="checkColName != null" >
check_col_name = #{checkColName,jdbcType=VARCHAR},
</if>
<if test="referDbName != null" >
refer_db_name = #{referDbName,jdbcType=VARCHAR},
</if>
<if test="referTbName != null" >
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
</if>
<if test="referColName != null" >
refer_col_name = #{referColName,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="checkFilters != null" >
check_filters = #{checkFilters,jdbcType=LONGVARCHAR},
</if>
<if test="referFilters != null" >
refer_filters = #{referFilters,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplexWithBLOBs" >
update tbl_rule_info_duplex
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
check_filters = #{checkFilters,jdbcType=LONGVARCHAR},
refer_filters = #{referFilters,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoDuplex" >
update tbl_rule_info_duplex
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblRuleInfoSimpleMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblRuleInfoSimple" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="check_type" property="checkType" jdbcType="VARCHAR" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="col_name" property="colName" jdbcType="VARCHAR" />
<result column="time_col_name" property="timeColName" jdbcType="VARCHAR" />
<result column="indicator_type" property="indicatorType" jdbcType="VARCHAR" />
<result column="start_time" property="startTime" jdbcType="VARCHAR" />
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
<result column="check_time" property="checkTime" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="com.gmei.data.dqmp.domain.TblRuleInfoSimple" extends="BaseResultMap" >
<result column="filters" property="filters" jdbcType="LONGVARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, check_type, db_name, tb_name, col_name, time_col_name, indicator_type, start_time,
is_valid, check_time, comment, create_time
</sql>
<sql id="Blob_Column_List" >
filters
</sql>
<select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimpleCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_rule_info_simple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimpleCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_rule_info_simple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_rule_info_simple
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_rule_info_simple
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimpleCriteria" >
delete from tbl_rule_info_simple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimple" >
insert into tbl_rule_info_simple (id, check_type, db_name,
tb_name, col_name, time_col_name,
indicator_type, start_time, is_valid,
check_time, comment, create_time,
filters)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{dbName,jdbcType=VARCHAR},
#{tbName,jdbcType=VARCHAR}, #{colName,jdbcType=VARCHAR}, #{timeColName,jdbcType=VARCHAR},
#{indicatorType,jdbcType=VARCHAR}, #{startTime,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{filters,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimple" >
insert into tbl_rule_info_simple
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="checkType != null" >
check_type,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="colName != null" >
col_name,
</if>
<if test="timeColName != null" >
time_col_name,
</if>
<if test="indicatorType != null" >
indicator_type,
</if>
<if test="startTime != null" >
start_time,
</if>
<if test="isValid != null" >
is_valid,
</if>
<if test="checkTime != null" >
check_time,
</if>
<if test="comment != null" >
comment,
</if>
<if test="createTime != null" >
create_time,
</if>
<if test="filters != null" >
filters,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="checkType != null" >
#{checkType,jdbcType=VARCHAR},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
#{colName,jdbcType=VARCHAR},
</if>
<if test="timeColName != null" >
#{timeColName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
#{indicatorType,jdbcType=VARCHAR},
</if>
<if test="startTime != null" >
#{startTime,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
#{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
#{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="filters != null" >
#{filters,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimpleCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_rule_info_simple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_rule_info_simple
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.checkType != null" >
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.colName != null" >
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if test="record.timeColName != null" >
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
</if>
<if test="record.indicatorType != null" >
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if test="record.startTime != null" >
start_time = #{record.startTime,jdbcType=VARCHAR},
</if>
<if test="record.isValid != null" >
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if test="record.checkTime != null" >
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.filters != null" >
filters = #{record.filters,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map" >
update tbl_rule_info_simple
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
filters = #{record.filters,jdbcType=LONGVARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_rule_info_simple
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimple" >
update tbl_rule_info_simple
<set >
<if test="checkType != null" >
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if test="timeColName != null" >
time_col_name = #{timeColName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if test="startTime != null" >
start_time = #{startTime,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="filters != null" >
filters = #{filters,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimple" >
update tbl_rule_info_simple
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
time_col_name = #{timeColName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
filters = #{filters,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblRuleInfoSimple" >
update tbl_rule_info_simple
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
time_col_name = #{timeColName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblSqlCheckMultipleMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblSqlCheckMultiple" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="check_type" property="checkType" jdbcType="VARCHAR" />
<result column="check_db_name" property="checkDbName" jdbcType="VARCHAR" />
<result column="check_tb_name" property="checkTbName" jdbcType="VARCHAR" />
<result column="check_col_name" property="checkColName" jdbcType="VARCHAR" />
<result column="refer_db_name" property="referDbName" jdbcType="VARCHAR" />
<result column="refer_tb_name" property="referTbName" jdbcType="VARCHAR" />
<result column="refer_col_name" property="referColName" jdbcType="VARCHAR" />
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
<result column="check_time" property="checkTime" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="com.gmei.data.dqmp.domain.TblSqlCheckMultiple" extends="BaseResultMap" >
<result column="sql_content" property="sqlContent" jdbcType="LONGVARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, check_type, check_db_name, check_tb_name, check_col_name, refer_db_name, refer_tb_name,
refer_col_name, is_valid, check_time, comment, create_time
</sql>
<sql id="Blob_Column_List" >
sql_content
</sql>
<select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultipleCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_check_multiple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultipleCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_sql_check_multiple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_check_multiple
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_sql_check_multiple
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultipleCriteria" >
delete from tbl_sql_check_multiple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultiple" >
insert into tbl_sql_check_multiple (id, check_type, check_db_name,
check_tb_name, check_col_name, refer_db_name,
refer_tb_name, refer_col_name, is_valid,
check_time, comment, create_time,
sql_content)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{checkDbName,jdbcType=VARCHAR},
#{checkTbName,jdbcType=VARCHAR}, #{checkColName,jdbcType=VARCHAR}, #{referDbName,jdbcType=VARCHAR},
#{referTbName,jdbcType=VARCHAR}, #{referColName,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{sqlContent,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultiple" >
insert into tbl_sql_check_multiple
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="checkType != null" >
check_type,
</if>
<if test="checkDbName != null" >
check_db_name,
</if>
<if test="checkTbName != null" >
check_tb_name,
</if>
<if test="checkColName != null" >
check_col_name,
</if>
<if test="referDbName != null" >
refer_db_name,
</if>
<if test="referTbName != null" >
refer_tb_name,
</if>
<if test="referColName != null" >
refer_col_name,
</if>
<if test="isValid != null" >
is_valid,
</if>
<if test="checkTime != null" >
check_time,
</if>
<if test="comment != null" >
comment,
</if>
<if test="createTime != null" >
create_time,
</if>
<if test="sqlContent != null" >
sql_content,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="checkType != null" >
#{checkType,jdbcType=VARCHAR},
</if>
<if test="checkDbName != null" >
#{checkDbName,jdbcType=VARCHAR},
</if>
<if test="checkTbName != null" >
#{checkTbName,jdbcType=VARCHAR},
</if>
<if test="checkColName != null" >
#{checkColName,jdbcType=VARCHAR},
</if>
<if test="referDbName != null" >
#{referDbName,jdbcType=VARCHAR},
</if>
<if test="referTbName != null" >
#{referTbName,jdbcType=VARCHAR},
</if>
<if test="referColName != null" >
#{referColName,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
#{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
#{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultipleCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_sql_check_multiple
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_sql_check_multiple
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.checkType != null" >
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if test="record.checkDbName != null" >
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
</if>
<if test="record.checkTbName != null" >
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
</if>
<if test="record.checkColName != null" >
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
</if>
<if test="record.referDbName != null" >
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
</if>
<if test="record.referTbName != null" >
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
</if>
<if test="record.referColName != null" >
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
</if>
<if test="record.isValid != null" >
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if test="record.checkTime != null" >
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.sqlContent != null" >
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map" >
update tbl_sql_check_multiple
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_sql_check_multiple
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultiple" >
update tbl_sql_check_multiple
<set >
<if test="checkType != null" >
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if test="checkDbName != null" >
check_db_name = #{checkDbName,jdbcType=VARCHAR},
</if>
<if test="checkTbName != null" >
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
</if>
<if test="checkColName != null" >
check_col_name = #{checkColName,jdbcType=VARCHAR},
</if>
<if test="referDbName != null" >
refer_db_name = #{referDbName,jdbcType=VARCHAR},
</if>
<if test="referTbName != null" >
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
</if>
<if test="referColName != null" >
refer_col_name = #{referColName,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultiple" >
update tbl_sql_check_multiple
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckMultiple" >
update tbl_sql_check_multiple
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblSqlCheckSingleMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblSqlCheckSingle" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="check_type" property="checkType" jdbcType="VARCHAR" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="col_name" property="colName" jdbcType="VARCHAR" />
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
<result column="check_time" property="checkTime" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="com.gmei.data.dqmp.domain.TblSqlCheckSingle" extends="BaseResultMap" >
<result column="sql_content" property="sqlContent" jdbcType="LONGVARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, check_type, db_name, tb_name, col_name, is_valid, check_time, comment, create_time
</sql>
<sql id="Blob_Column_List" >
sql_content
</sql>
<select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingleCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_check_single
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingleCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_sql_check_single
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_check_single
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_sql_check_single
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingleCriteria" >
delete from tbl_sql_check_single
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingle" >
insert into tbl_sql_check_single (id, check_type, db_name,
tb_name, col_name, is_valid,
check_time, comment, create_time,
sql_content)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{dbName,jdbcType=VARCHAR},
#{tbName,jdbcType=VARCHAR}, #{colName,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{sqlContent,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingle" >
insert into tbl_sql_check_single
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="checkType != null" >
check_type,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="colName != null" >
col_name,
</if>
<if test="isValid != null" >
is_valid,
</if>
<if test="checkTime != null" >
check_time,
</if>
<if test="comment != null" >
comment,
</if>
<if test="createTime != null" >
create_time,
</if>
<if test="sqlContent != null" >
sql_content,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="checkType != null" >
#{checkType,jdbcType=VARCHAR},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
#{colName,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
#{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
#{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingleCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_sql_check_single
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_sql_check_single
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.checkType != null" >
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.colName != null" >
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if test="record.isValid != null" >
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if test="record.checkTime != null" >
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.sqlContent != null" >
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map" >
update tbl_sql_check_single
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_sql_check_single
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingle" >
update tbl_sql_check_single
<set >
<if test="checkType != null" >
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingle" >
update tbl_sql_check_single
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblSqlCheckSingle" >
update tbl_sql_check_single
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblSqlMonitorSpecialMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblSqlMonitorSpecial" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="col_name" property="colName" jdbcType="VARCHAR" />
<result column="time_col_name" property="timeColName" jdbcType="VARCHAR" />
<result column="indicator_type" property="indicatorType" jdbcType="VARCHAR" />
<result column="start_time" property="startTime" jdbcType="VARCHAR" />
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
<result column="check_time" property="checkTime" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="com.gmei.data.dqmp.domain.TblSqlMonitorSpecial" extends="BaseResultMap" >
<result column="sql_content" property="sqlContent" jdbcType="LONGVARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, db_name, tb_name, col_name, time_col_name, indicator_type, start_time, is_valid,
check_time, comment, create_time
</sql>
<sql id="Blob_Column_List" >
sql_content
</sql>
<select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecialCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_monitor_special
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecialCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_sql_monitor_special
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_monitor_special
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_sql_monitor_special
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecialCriteria" >
delete from tbl_sql_monitor_special
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecial" >
insert into tbl_sql_monitor_special (id, db_name, tb_name,
col_name, time_col_name, indicator_type,
start_time, is_valid, check_time,
comment, create_time, sql_content
)
values (#{id,jdbcType=INTEGER}, #{dbName,jdbcType=VARCHAR}, #{tbName,jdbcType=VARCHAR},
#{colName,jdbcType=VARCHAR}, #{timeColName,jdbcType=VARCHAR}, #{indicatorType,jdbcType=VARCHAR},
#{startTime,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER}, #{checkTime,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{sqlContent,jdbcType=LONGVARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecial" >
insert into tbl_sql_monitor_special
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="colName != null" >
col_name,
</if>
<if test="timeColName != null" >
time_col_name,
</if>
<if test="indicatorType != null" >
indicator_type,
</if>
<if test="startTime != null" >
start_time,
</if>
<if test="isValid != null" >
is_valid,
</if>
<if test="checkTime != null" >
check_time,
</if>
<if test="comment != null" >
comment,
</if>
<if test="createTime != null" >
create_time,
</if>
<if test="sqlContent != null" >
sql_content,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
#{colName,jdbcType=VARCHAR},
</if>
<if test="timeColName != null" >
#{timeColName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
#{indicatorType,jdbcType=VARCHAR},
</if>
<if test="startTime != null" >
#{startTime,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
#{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
#{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecialCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_sql_monitor_special
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_sql_monitor_special
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.colName != null" >
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if test="record.timeColName != null" >
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
</if>
<if test="record.indicatorType != null" >
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if test="record.startTime != null" >
start_time = #{record.startTime,jdbcType=VARCHAR},
</if>
<if test="record.isValid != null" >
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if test="record.checkTime != null" >
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.sqlContent != null" >
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map" >
update tbl_sql_monitor_special
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_sql_monitor_special
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecial" >
update tbl_sql_monitor_special
<set >
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if test="timeColName != null" >
time_col_name = #{timeColName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if test="startTime != null" >
start_time = #{startTime,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecial" >
update tbl_sql_monitor_special
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
time_col_name = #{timeColName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorSpecial" >
update tbl_sql_monitor_special
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
time_col_name = #{timeColName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblSqlMonitorVolatilityMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblSqlMonitorVolatility" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="db_name" property="dbName" jdbcType="VARCHAR" />
<result column="tb_name" property="tbName" jdbcType="VARCHAR" />
<result column="col_name" property="colName" jdbcType="VARCHAR" />
<result column="indicator_type" property="indicatorType" jdbcType="VARCHAR" />
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
<result column="check_time" property="checkTime" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="com.gmei.data.dqmp.domain.TblSqlMonitorVolatility" extends="BaseResultMap" >
<result column="sql_content" property="sqlContent" jdbcType="LONGVARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, db_name, tb_name, col_name, indicator_type, is_valid, check_time, comment, create_time
</sql>
<sql id="Blob_Column_List" >
sql_content
</sql>
<select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatilityCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_monitor_volatility
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatilityCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_sql_monitor_volatility
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from tbl_sql_monitor_volatility
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_sql_monitor_volatility
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatilityCriteria" >
delete from tbl_sql_monitor_volatility
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatility" >
insert into tbl_sql_monitor_volatility (id, db_name, tb_name,
col_name, indicator_type, is_valid,
check_time, comment, create_time,
sql_content)
values (#{id,jdbcType=INTEGER}, #{dbName,jdbcType=VARCHAR}, #{tbName,jdbcType=VARCHAR},
#{colName,jdbcType=VARCHAR}, #{indicatorType,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{sqlContent,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatility" >
insert into tbl_sql_monitor_volatility
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="dbName != null" >
db_name,
</if>
<if test="tbName != null" >
tb_name,
</if>
<if test="colName != null" >
col_name,
</if>
<if test="indicatorType != null" >
indicator_type,
</if>
<if test="isValid != null" >
is_valid,
</if>
<if test="checkTime != null" >
check_time,
</if>
<if test="comment != null" >
comment,
</if>
<if test="createTime != null" >
create_time,
</if>
<if test="sqlContent != null" >
sql_content,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="dbName != null" >
#{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
#{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
#{colName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
#{indicatorType,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
#{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
#{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatilityCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_sql_monitor_volatility
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_sql_monitor_volatility
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.dbName != null" >
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if test="record.tbName != null" >
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if test="record.colName != null" >
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if test="record.indicatorType != null" >
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if test="record.isValid != null" >
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if test="record.checkTime != null" >
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null" >
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.sqlContent != null" >
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map" >
update tbl_sql_monitor_volatility
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_sql_monitor_volatility
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatility" >
update tbl_sql_monitor_volatility
<set >
<if test="dbName != null" >
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if test="tbName != null" >
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if test="colName != null" >
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if test="indicatorType != null" >
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if test="isValid != null" >
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if test="checkTime != null" >
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="sqlContent != null" >
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatility" >
update tbl_sql_monitor_volatility
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblSqlMonitorVolatility" >
update tbl_sql_monitor_volatility
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
...@@ -34,16 +34,20 @@ ...@@ -34,16 +34,20 @@
</javaClientGenerator> </javaClientGenerator>
<!-- 需要生成的数据库表 --> <!-- 需要生成的数据库表 -->
<!-- <table tableName="tbl_rule_template" domainObjectName="TblRuleTemplate"/> -->
<!-- <table tableName="tbl_check_single_sql" domainObjectName="TblCheckSingleSql"/> -->
<!-- <table tableName="tbl_result_check_unique" domainObjectName="TblResultCheckUnique"/> -->
<!-- <table tableName="tbl_result_check_unblank" domainObjectName="TblResultCheckUnblank"/> -->
<!-- <table tableName="tbl_client_version_info" domainObjectName="TblClientVersionInfo"/> --> <!-- <table tableName="tbl_client_version_info" domainObjectName="TblClientVersionInfo"/> -->
<!-- <table tableName="tbl_result_check_refer" domainObjectName="TblResultCheckRefer"/> --> <table tableName="tbl_sql_check_single" domainObjectName="TblSqlCheckSingle"/>
<!-- <table tableName="tbl_check_multiple_sql" domainObjectName="TblCheckMultipleSql"/> --> <table tableName="tbl_sql_check_multiple" domainObjectName="TblSqlCheckMultiple"/>
<!-- <table tableName="tbl_monitor_volatility_sql" domainObjectName="TblMonitorVolatilitySql"/> --> <table tableName="tbl_sql_monitor_volatility" domainObjectName="TblSqlMonitorVolatility"/>
<!-- <table tableName="tbl_result_monitor_volatility" domainObjectName="TblResultMonitorVolatility"/> --> <table tableName="tbl_sql_monitor_special" domainObjectName="TblSqlMonitorSpecial"/>
<table tableName="tbl_monitor_special_sql" domainObjectName="TblMonitorSpecialSql"/> <table tableName="tbl_result_check_unique" domainObjectName="TblResultCheckUnique"/>
<table tableName="tbl_result_check_unblank" domainObjectName="TblResultCheckUnblank"/>
<table tableName="tbl_result_check_refer" domainObjectName="TblResultCheckRefer"/>
<table tableName="tbl_result_monitor_volatility" domainObjectName="TblResultMonitorVolatility"/>
<table tableName="tbl_result_monitor_special" domainObjectName="TblResultMonitorSpecial"/> <table tableName="tbl_result_monitor_special" domainObjectName="TblResultMonitorSpecial"/>
<table tableName="tbl_indicator_operator_info" domainObjectName="TblIndicatorOperatorInfo"/>
<!-- <table tableName="tbl_rule_template" domainObjectName="TblRuleTemplate"/> -->
<table tableName="tbl_rule_info_simple" domainObjectName="TblRuleInfoSimple"/>
<table tableName="tbl_rule_info_duplex" domainObjectName="TblRuleInfoDuplex"/>
<!-- <table tableName="tbl_sys_param_info" domainObjectName="TblSysParamInfo"/> -->
</context> </context>
</generatorConfiguration> </generatorConfiguration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment