Kaynağa Gözat

重构项目

liukaixiong 4 yıl önce
ebeveyn
işleme
664a6ad312

+ 0 - 30
src/main/java/com/jay/monitor/data/server/daos/JayMonitorMqLogMapper.java

@@ -1,30 +0,0 @@
-package com.jay.monitor.data.server.daos;
-
-import com.jay.monitor.data.server.models.entity.JayMonitorMqLog;
-import com.jay.monitor.data.server.models.entity.JayMonitorMqLogExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface JayMonitorMqLogMapper {
-    long countByExample(JayMonitorMqLogExample example);
-
-    int deleteByExample(JayMonitorMqLogExample example);
-
-    int deleteByPrimaryKey(Integer id);
-
-    int insert(JayMonitorMqLog record);
-
-    int insertSelective(JayMonitorMqLog record);
-
-    List<JayMonitorMqLog> selectByExample(JayMonitorMqLogExample example);
-
-    JayMonitorMqLog selectByPrimaryKey(Integer id);
-
-    int updateByExampleSelective(@Param("record") JayMonitorMqLog record, @Param("example") JayMonitorMqLogExample example);
-
-    int updateByExample(@Param("record") JayMonitorMqLog record, @Param("example") JayMonitorMqLogExample example);
-
-    int updateByPrimaryKeySelective(JayMonitorMqLog record);
-
-    int updateByPrimaryKey(JayMonitorMqLog record);
-}

+ 0 - 100
src/main/java/com/jay/monitor/data/server/models/entity/JayMonitorMqLog.java

@@ -1,100 +0,0 @@
-package com.jay.monitor.data.server.models.entity;
-
-import java.io.Serializable;
-import java.util.Date;
-
-/**
- * jay_monitor_mq_log
- * @author 
- */
-public class JayMonitorMqLog implements Serializable {
-    private Integer id;
-
-    /**
-     * 监控来源编号
-     */
-    private Integer monitorId;
-
-    /**
-     * 根日志编号
-     */
-    private String rootLogId;
-
-    /**
-     * 上级日志编号
-     */
-    private String parentLogId;
-
-    /**
-     * 日志编号
-     */
-    private String logId;
-
-    /**
-     * 日志文本
-     */
-    private String logText;
-
-    /**
-     * 创建日期
-     */
-    private Date createDate;
-
-    private static final long serialVersionUID = 1L;
-
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public Integer getMonitorId() {
-        return monitorId;
-    }
-
-    public void setMonitorId(Integer monitorId) {
-        this.monitorId = monitorId;
-    }
-
-    public String getRootLogId() {
-        return rootLogId;
-    }
-
-    public void setRootLogId(String rootLogId) {
-        this.rootLogId = rootLogId;
-    }
-
-    public String getParentLogId() {
-        return parentLogId;
-    }
-
-    public void setParentLogId(String parentLogId) {
-        this.parentLogId = parentLogId;
-    }
-
-    public String getLogId() {
-        return logId;
-    }
-
-    public void setLogId(String logId) {
-        this.logId = logId;
-    }
-
-    public String getLogText() {
-        return logText;
-    }
-
-    public void setLogText(String logText) {
-        this.logText = logText;
-    }
-
-    public Date getCreateDate() {
-        return createDate;
-    }
-
-    public void setCreateDate(Date createDate) {
-        this.createDate = createDate;
-    }
-}

+ 0 - 689
src/main/java/com/jay/monitor/data/server/models/entity/JayMonitorMqLogExample.java

@@ -1,689 +0,0 @@
-package com.jay.monitor.data.server.models.entity;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.Iterator;
-import java.util.List;
-
-public class JayMonitorMqLogExample {
-    protected String orderByClause;
-
-    protected boolean distinct;
-
-    protected List<Criteria> oredCriteria;
-
-    public JayMonitorMqLogExample() {
-        oredCriteria = new ArrayList<>();
-    }
-
-    public void setOrderByClause(String orderByClause) {
-        this.orderByClause = orderByClause;
-    }
-
-    public String getOrderByClause() {
-        return orderByClause;
-    }
-
-    public void setDistinct(boolean distinct) {
-        this.distinct = distinct;
-    }
-
-    public boolean isDistinct() {
-        return distinct;
-    }
-
-    public List<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<>();
-        }
-
-        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));
-        }
-
-        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
-            if (value == null) {
-                throw new RuntimeException("Value for " + property + " cannot be null");
-            }
-            addCriterion(condition, new java.sql.Date(value.getTime()), property);
-        }
-
-        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
-            if (values == null || values.size() == 0) {
-                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
-            }
-            List<java.sql.Date> dateList = new ArrayList<>();
-            Iterator<Date> iter = values.iterator();
-            while (iter.hasNext()) {
-                dateList.add(new java.sql.Date(iter.next().getTime()));
-            }
-            addCriterion(condition, dateList, property);
-        }
-
-        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
-            if (value1 == null || value2 == null) {
-                throw new RuntimeException("Between values for " + property + " cannot be null");
-            }
-            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
-        }
-
-        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 andMonitorIdIsNull() {
-            addCriterion("monitor_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdIsNotNull() {
-            addCriterion("monitor_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdEqualTo(Integer value) {
-            addCriterion("monitor_id =", value, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdNotEqualTo(Integer value) {
-            addCriterion("monitor_id <>", value, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdGreaterThan(Integer value) {
-            addCriterion("monitor_id >", value, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdGreaterThanOrEqualTo(Integer value) {
-            addCriterion("monitor_id >=", value, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdLessThan(Integer value) {
-            addCriterion("monitor_id <", value, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdLessThanOrEqualTo(Integer value) {
-            addCriterion("monitor_id <=", value, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdIn(List<Integer> values) {
-            addCriterion("monitor_id in", values, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdNotIn(List<Integer> values) {
-            addCriterion("monitor_id not in", values, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdBetween(Integer value1, Integer value2) {
-            addCriterion("monitor_id between", value1, value2, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andMonitorIdNotBetween(Integer value1, Integer value2) {
-            addCriterion("monitor_id not between", value1, value2, "monitorId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdIsNull() {
-            addCriterion("root_log_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdIsNotNull() {
-            addCriterion("root_log_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdEqualTo(String value) {
-            addCriterion("root_log_id =", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdNotEqualTo(String value) {
-            addCriterion("root_log_id <>", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdGreaterThan(String value) {
-            addCriterion("root_log_id >", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdGreaterThanOrEqualTo(String value) {
-            addCriterion("root_log_id >=", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdLessThan(String value) {
-            addCriterion("root_log_id <", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdLessThanOrEqualTo(String value) {
-            addCriterion("root_log_id <=", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdLike(String value) {
-            addCriterion("root_log_id like", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdNotLike(String value) {
-            addCriterion("root_log_id not like", value, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdIn(List<String> values) {
-            addCriterion("root_log_id in", values, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdNotIn(List<String> values) {
-            addCriterion("root_log_id not in", values, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdBetween(String value1, String value2) {
-            addCriterion("root_log_id between", value1, value2, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andRootLogIdNotBetween(String value1, String value2) {
-            addCriterion("root_log_id not between", value1, value2, "rootLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdIsNull() {
-            addCriterion("parent_log_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdIsNotNull() {
-            addCriterion("parent_log_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdEqualTo(String value) {
-            addCriterion("parent_log_id =", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdNotEqualTo(String value) {
-            addCriterion("parent_log_id <>", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdGreaterThan(String value) {
-            addCriterion("parent_log_id >", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdGreaterThanOrEqualTo(String value) {
-            addCriterion("parent_log_id >=", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdLessThan(String value) {
-            addCriterion("parent_log_id <", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdLessThanOrEqualTo(String value) {
-            addCriterion("parent_log_id <=", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdLike(String value) {
-            addCriterion("parent_log_id like", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdNotLike(String value) {
-            addCriterion("parent_log_id not like", value, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdIn(List<String> values) {
-            addCriterion("parent_log_id in", values, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdNotIn(List<String> values) {
-            addCriterion("parent_log_id not in", values, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdBetween(String value1, String value2) {
-            addCriterion("parent_log_id between", value1, value2, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andParentLogIdNotBetween(String value1, String value2) {
-            addCriterion("parent_log_id not between", value1, value2, "parentLogId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdIsNull() {
-            addCriterion("log_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdIsNotNull() {
-            addCriterion("log_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdEqualTo(String value) {
-            addCriterion("log_id =", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdNotEqualTo(String value) {
-            addCriterion("log_id <>", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdGreaterThan(String value) {
-            addCriterion("log_id >", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdGreaterThanOrEqualTo(String value) {
-            addCriterion("log_id >=", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdLessThan(String value) {
-            addCriterion("log_id <", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdLessThanOrEqualTo(String value) {
-            addCriterion("log_id <=", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdLike(String value) {
-            addCriterion("log_id like", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdNotLike(String value) {
-            addCriterion("log_id not like", value, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdIn(List<String> values) {
-            addCriterion("log_id in", values, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdNotIn(List<String> values) {
-            addCriterion("log_id not in", values, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdBetween(String value1, String value2) {
-            addCriterion("log_id between", value1, value2, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogIdNotBetween(String value1, String value2) {
-            addCriterion("log_id not between", value1, value2, "logId");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextIsNull() {
-            addCriterion("log_text is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextIsNotNull() {
-            addCriterion("log_text is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextEqualTo(String value) {
-            addCriterion("log_text =", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextNotEqualTo(String value) {
-            addCriterion("log_text <>", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextGreaterThan(String value) {
-            addCriterion("log_text >", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextGreaterThanOrEqualTo(String value) {
-            addCriterion("log_text >=", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextLessThan(String value) {
-            addCriterion("log_text <", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextLessThanOrEqualTo(String value) {
-            addCriterion("log_text <=", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextLike(String value) {
-            addCriterion("log_text like", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextNotLike(String value) {
-            addCriterion("log_text not like", value, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextIn(List<String> values) {
-            addCriterion("log_text in", values, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextNotIn(List<String> values) {
-            addCriterion("log_text not in", values, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextBetween(String value1, String value2) {
-            addCriterion("log_text between", value1, value2, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andLogTextNotBetween(String value1, String value2) {
-            addCriterion("log_text not between", value1, value2, "logText");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateIsNull() {
-            addCriterion("create_date is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateIsNotNull() {
-            addCriterion("create_date is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateEqualTo(Date value) {
-            addCriterionForJDBCDate("create_date =", value, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateNotEqualTo(Date value) {
-            addCriterionForJDBCDate("create_date <>", value, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateGreaterThan(Date value) {
-            addCriterionForJDBCDate("create_date >", value, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
-            addCriterionForJDBCDate("create_date >=", value, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateLessThan(Date value) {
-            addCriterionForJDBCDate("create_date <", value, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
-            addCriterionForJDBCDate("create_date <=", value, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateIn(List<Date> values) {
-            addCriterionForJDBCDate("create_date in", values, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateNotIn(List<Date> values) {
-            addCriterionForJDBCDate("create_date not in", values, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateBetween(Date value1, Date value2) {
-            addCriterionForJDBCDate("create_date between", value1, value2, "createDate");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
-            addCriterionForJDBCDate("create_date not between", value1, value2, "createDate");
-            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);
-        }
-    }
-}

+ 0 - 237
src/main/resources/mybatis/mapper/JayMonitorMqLogMapper.xml

@@ -1,237 +0,0 @@
-<?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.jay.monitor.data.server.daos.JayMonitorMqLogMapper">
-  <resultMap id="BaseResultMap" type="com.jay.monitor.data.server.models.entity.JayMonitorMqLog">
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="monitor_id" jdbcType="INTEGER" property="monitorId" />
-    <result column="root_log_id" jdbcType="VARCHAR" property="rootLogId" />
-    <result column="parent_log_id" jdbcType="VARCHAR" property="parentLogId" />
-    <result column="log_id" jdbcType="VARCHAR" property="logId" />
-    <result column="log_text" jdbcType="VARCHAR" property="logText" />
-    <result column="create_date" jdbcType="DATE" property="createDate" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <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 close=")" collection="criterion.value" item="listItem" open="(" 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="(" prefixOverrides="and" suffix=")">
-            <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 close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    id, monitor_id, root_log_id, parent_log_id, log_id, log_text, create_date
-  </sql>
-  <select id="selectByExample" parameterType="com.jay.monitor.data.server.models.entity.JayMonitorMqLogExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from jay_monitor_mq_log
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from jay_monitor_mq_log
-    where id = #{id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    delete from jay_monitor_mq_log
-    where id = #{id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.jay.monitor.data.server.models.entity.JayMonitorMqLogExample">
-    delete from jay_monitor_mq_log
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.jay.monitor.data.server.models.entity.JayMonitorMqLog" useGeneratedKeys="true">
-    insert into jay_monitor_mq_log (monitor_id, root_log_id, parent_log_id, 
-      log_id, log_text, create_date
-      )
-    values (#{monitorId,jdbcType=INTEGER}, #{rootLogId,jdbcType=VARCHAR}, #{parentLogId,jdbcType=VARCHAR}, 
-      #{logId,jdbcType=VARCHAR}, #{logText,jdbcType=VARCHAR}, #{createDate,jdbcType=DATE}
-      )
-  </insert>
-  <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.jay.monitor.data.server.models.entity.JayMonitorMqLog" useGeneratedKeys="true">
-    insert into jay_monitor_mq_log
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="monitorId != null">
-        monitor_id,
-      </if>
-      <if test="rootLogId != null">
-        root_log_id,
-      </if>
-      <if test="parentLogId != null">
-        parent_log_id,
-      </if>
-      <if test="logId != null">
-        log_id,
-      </if>
-      <if test="logText != null">
-        log_text,
-      </if>
-      <if test="createDate != null">
-        create_date,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="monitorId != null">
-        #{monitorId,jdbcType=INTEGER},
-      </if>
-      <if test="rootLogId != null">
-        #{rootLogId,jdbcType=VARCHAR},
-      </if>
-      <if test="parentLogId != null">
-        #{parentLogId,jdbcType=VARCHAR},
-      </if>
-      <if test="logId != null">
-        #{logId,jdbcType=VARCHAR},
-      </if>
-      <if test="logText != null">
-        #{logText,jdbcType=VARCHAR},
-      </if>
-      <if test="createDate != null">
-        #{createDate,jdbcType=DATE},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.jay.monitor.data.server.models.entity.JayMonitorMqLogExample" resultType="java.lang.Long">
-    select count(*) from jay_monitor_mq_log
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update jay_monitor_mq_log
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=INTEGER},
-      </if>
-      <if test="record.monitorId != null">
-        monitor_id = #{record.monitorId,jdbcType=INTEGER},
-      </if>
-      <if test="record.rootLogId != null">
-        root_log_id = #{record.rootLogId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.parentLogId != null">
-        parent_log_id = #{record.parentLogId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.logId != null">
-        log_id = #{record.logId,jdbcType=VARCHAR},
-      </if>
-      <if test="record.logText != null">
-        log_text = #{record.logText,jdbcType=VARCHAR},
-      </if>
-      <if test="record.createDate != null">
-        create_date = #{record.createDate,jdbcType=DATE},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update jay_monitor_mq_log
-    set id = #{record.id,jdbcType=INTEGER},
-      monitor_id = #{record.monitorId,jdbcType=INTEGER},
-      root_log_id = #{record.rootLogId,jdbcType=VARCHAR},
-      parent_log_id = #{record.parentLogId,jdbcType=VARCHAR},
-      log_id = #{record.logId,jdbcType=VARCHAR},
-      log_text = #{record.logText,jdbcType=VARCHAR},
-      create_date = #{record.createDate,jdbcType=DATE}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.jay.monitor.data.server.models.entity.JayMonitorMqLog">
-    update jay_monitor_mq_log
-    <set>
-      <if test="monitorId != null">
-        monitor_id = #{monitorId,jdbcType=INTEGER},
-      </if>
-      <if test="rootLogId != null">
-        root_log_id = #{rootLogId,jdbcType=VARCHAR},
-      </if>
-      <if test="parentLogId != null">
-        parent_log_id = #{parentLogId,jdbcType=VARCHAR},
-      </if>
-      <if test="logId != null">
-        log_id = #{logId,jdbcType=VARCHAR},
-      </if>
-      <if test="logText != null">
-        log_text = #{logText,jdbcType=VARCHAR},
-      </if>
-      <if test="createDate != null">
-        create_date = #{createDate,jdbcType=DATE},
-      </if>
-    </set>
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.jay.monitor.data.server.models.entity.JayMonitorMqLog">
-    update jay_monitor_mq_log
-    set monitor_id = #{monitorId,jdbcType=INTEGER},
-      root_log_id = #{rootLogId,jdbcType=VARCHAR},
-      parent_log_id = #{parentLogId,jdbcType=VARCHAR},
-      log_id = #{logId,jdbcType=VARCHAR},
-      log_text = #{logText,jdbcType=VARCHAR},
-      create_date = #{createDate,jdbcType=DATE}
-    where id = #{id,jdbcType=INTEGER}
-  </update>
-</mapper>