quyueting 5 anni fa
parent
commit
47dcfc886e

+ 1 - 1
cloud-socket/src/com/js/kbt/UserTempGenConfig.xml

@@ -11,7 +11,7 @@
     <javaModelGenerator targetPackage="com.js.kbt.model" targetProject="cloud-socket" />
     <sqlMapGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" />
     <javaClientGenerator targetPackage="com.js.kbt.mapper" targetProject="cloud-socket" type="XMLMAPPER" />
-    <table schema="cloud_model_test" tableName="mould_down_packet" >
+    <table schema="cloud_model_test" tableName="rec_data_log" >
     	<generatedKey column="id" identity="true" sqlStatement="SELECT LAST_INSERT_ID()"/>
     </table>
 <!--     <table schema="cloud_model" tableName="tb_mould_equipment" > -->

+ 96 - 0
cloud-socket/src/com/js/kbt/mapper/RecDataLogMapper.java

@@ -0,0 +1,96 @@
+package com.js.kbt.mapper;
+
+import com.js.kbt.model.RecDataLog;
+import com.js.kbt.model.RecDataLogExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface RecDataLogMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    long countByExample(RecDataLogExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int deleteByExample(RecDataLogExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int deleteByPrimaryKey(Long id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int insert(RecDataLog record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int insertSelective(RecDataLog record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    List<RecDataLog> selectByExample(RecDataLogExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    RecDataLog selectByPrimaryKey(Long id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int updateByExampleSelective(@Param("record") RecDataLog record, @Param("example") RecDataLogExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int updateByExample(@Param("record") RecDataLog record, @Param("example") RecDataLogExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int updateByPrimaryKeySelective(RecDataLog record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    int updateByPrimaryKey(RecDataLog record);
+}

+ 254 - 0
cloud-socket/src/com/js/kbt/mapper/RecDataLogMapper.xml

@@ -0,0 +1,254 @@
+<?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.js.kbt.mapper.RecDataLogMapper">
+  <resultMap id="BaseResultMap" type="com.js.kbt.model.RecDataLog">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    <id column="id" jdbcType="BIGINT" property="id" />
+    <result column="rec_data" jdbcType="VARCHAR" property="recData" />
+    <result column="indate" jdbcType="TIMESTAMP" property="indate" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    id, rec_data, indate
+  </sql>
+  <select id="selectByExample" parameterType="com.js.kbt.model.RecDataLogExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from rec_data_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.Long" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from rec_data_log
+    where id = #{id,jdbcType=BIGINT}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    delete from rec_data_log
+    where id = #{id,jdbcType=BIGINT}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.js.kbt.model.RecDataLogExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    delete from rec_data_log
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.js.kbt.model.RecDataLog">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
+      SELECT LAST_INSERT_ID()
+    </selectKey>
+    insert into rec_data_log (rec_data, indate)
+    values (#{recData,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.js.kbt.model.RecDataLog">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
+      SELECT LAST_INSERT_ID()
+    </selectKey>
+    insert into rec_data_log
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="recData != null">
+        rec_data,
+      </if>
+      <if test="indate != null">
+        indate,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="recData != null">
+        #{recData,jdbcType=VARCHAR},
+      </if>
+      <if test="indate != null">
+        #{indate,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.js.kbt.model.RecDataLogExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    select count(*) from rec_data_log
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    update rec_data_log
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=BIGINT},
+      </if>
+      <if test="record.recData != null">
+        rec_data = #{record.recData,jdbcType=VARCHAR},
+      </if>
+      <if test="record.indate != null">
+        indate = #{record.indate,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    update rec_data_log
+    set id = #{record.id,jdbcType=BIGINT},
+      rec_data = #{record.recData,jdbcType=VARCHAR},
+      indate = #{record.indate,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.js.kbt.model.RecDataLog">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    update rec_data_log
+    <set>
+      <if test="recData != null">
+        rec_data = #{recData,jdbcType=VARCHAR},
+      </if>
+      <if test="indate != null">
+        indate = #{indate,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where id = #{id,jdbcType=BIGINT}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.js.kbt.model.RecDataLog">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Wed Oct 30 14:38:00 CST 2019.
+    -->
+    update rec_data_log
+    set rec_data = #{recData,jdbcType=VARCHAR},
+      indate = #{indate,jdbcType=TIMESTAMP}
+    where id = #{id,jdbcType=BIGINT}
+  </update>
+</mapper>

+ 104 - 0
cloud-socket/src/com/js/kbt/model/RecDataLog.java

@@ -0,0 +1,104 @@
+package com.js.kbt.model;
+
+import java.util.Date;
+
+public class RecDataLog {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column rec_data_log.id
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    private Long id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column rec_data_log.rec_data
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    private String recData;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column rec_data_log.indate
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    private Date indate;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column rec_data_log.id
+     *
+     * @return the value of rec_data_log.id
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public Long getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column rec_data_log.id
+     *
+     * @param id the value for rec_data_log.id
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column rec_data_log.rec_data
+     *
+     * @return the value of rec_data_log.rec_data
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public String getRecData() {
+        return recData;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column rec_data_log.rec_data
+     *
+     * @param recData the value for rec_data_log.rec_data
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public void setRecData(String recData) {
+        this.recData = recData;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column rec_data_log.indate
+     *
+     * @return the value of rec_data_log.indate
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public Date getIndate() {
+        return indate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column rec_data_log.indate
+     *
+     * @param indate the value for rec_data_log.indate
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public void setIndate(Date indate) {
+        this.indate = indate;
+    }
+}

+ 493 - 0
cloud-socket/src/com/js/kbt/model/RecDataLogExample.java

@@ -0,0 +1,493 @@
+package com.js.kbt.model;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class RecDataLogExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public RecDataLogExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    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(Long value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Long value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Long value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Long value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Long value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Long value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Long> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Long> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Long value1, Long value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Long value1, Long value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataIsNull() {
+            addCriterion("rec_data is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataIsNotNull() {
+            addCriterion("rec_data is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataEqualTo(String value) {
+            addCriterion("rec_data =", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataNotEqualTo(String value) {
+            addCriterion("rec_data <>", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataGreaterThan(String value) {
+            addCriterion("rec_data >", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataGreaterThanOrEqualTo(String value) {
+            addCriterion("rec_data >=", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataLessThan(String value) {
+            addCriterion("rec_data <", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataLessThanOrEqualTo(String value) {
+            addCriterion("rec_data <=", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataLike(String value) {
+            addCriterion("rec_data like", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataNotLike(String value) {
+            addCriterion("rec_data not like", value, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataIn(List<String> values) {
+            addCriterion("rec_data in", values, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataNotIn(List<String> values) {
+            addCriterion("rec_data not in", values, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataBetween(String value1, String value2) {
+            addCriterion("rec_data between", value1, value2, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecDataNotBetween(String value1, String value2) {
+            addCriterion("rec_data not between", value1, value2, "recData");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateIsNull() {
+            addCriterion("indate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateIsNotNull() {
+            addCriterion("indate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateEqualTo(Date value) {
+            addCriterion("indate =", value, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateNotEqualTo(Date value) {
+            addCriterion("indate <>", value, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateGreaterThan(Date value) {
+            addCriterion("indate >", value, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateGreaterThanOrEqualTo(Date value) {
+            addCriterion("indate >=", value, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateLessThan(Date value) {
+            addCriterion("indate <", value, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateLessThanOrEqualTo(Date value) {
+            addCriterion("indate <=", value, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateIn(List<Date> values) {
+            addCriterion("indate in", values, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateNotIn(List<Date> values) {
+            addCriterion("indate not in", values, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateBetween(Date value1, Date value2) {
+            addCriterion("indate between", value1, value2, "indate");
+            return (Criteria) this;
+        }
+
+        public Criteria andIndateNotBetween(Date value1, Date value2) {
+            addCriterion("indate not between", value1, value2, "indate");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table rec_data_log
+     *
+     * @mbg.generated do_not_delete_during_merge Wed Oct 30 14:38:00 CST 2019
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table rec_data_log
+     *
+     * @mbg.generated Wed Oct 30 14:38:00 CST 2019
+     */
+    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);
+        }
+    }
+}

+ 2 - 2
cloud-socket/src/jdbc.properties

@@ -1,5 +1,5 @@
-classPath=D:/model/cloud-socket/WebContent/WEB-INF/lib/mysql-connector-java-5.1.31-bin.jar
-#classPath=D:/workspace/yunsu/cloud-socket/WebContent/WEB-INF/lib/mysql-connector-java-5.1.31-bin.jar
+#classPath=D:/model/cloud-socket/WebContent/WEB-INF/lib/mysql-connector-java-5.1.31-bin.jar
+classPath=D:/workspace/yunsu/cloud-socket/WebContent/WEB-INF/lib/mysql-connector-java-5.1.31-bin.jar
 driver=com.mysql.jdbc.Driver
 url=jdbc:mysql://118.190.47.230:3306/cloud_model?autoReconnect=true&rewriteBatchedStatements=TRUE&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8
 username=root