| 
					
				 | 
			
			
				@@ -0,0 +1,522 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<?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.MouldHistoryMapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <resultMap id="BaseResultMap" type="com.js.kbt.model.MouldHistory"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <id column="id" jdbcType="BIGINT" property="id" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="sim" jdbcType="VARCHAR" property="sim" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="model_no" jdbcType="VARCHAR" property="modelNo" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="version" jdbcType="VARCHAR" property="version" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="status" jdbcType="VARCHAR" property="status" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="lng" jdbcType="VARCHAR" property="lng" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="lat" jdbcType="VARCHAR" property="lat" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="gprs_lac" jdbcType="VARCHAR" property="gprsLac" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="gprs_ic" jdbcType="VARCHAR" property="gprsIc" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="wifi_bbsid" jdbcType="VARCHAR" property="wifiBbsid" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="temperature" jdbcType="INTEGER" property="temperature" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="battery" jdbcType="INTEGER" property="battery" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="sig_2g" jdbcType="INTEGER" property="sig2g" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="sig_nb" jdbcType="INTEGER" property="sigNb" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="sig_wifi" jdbcType="INTEGER" property="sigWifi" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="ext0" jdbcType="VARCHAR" property="ext0" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="alarm" jdbcType="INTEGER" property="alarm" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="run_cnt" jdbcType="INTEGER" property="runCnt" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="crc_code" jdbcType="VARCHAR" property="crcCode" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <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 Thu Aug 01 15:49:20 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 Thu Aug 01 15:49:20 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 Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    id, sim, model_no, version, status, lng, lat, gprs_lac, gprs_ic, wifi_bbsid, temperature,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    battery, sig_2g, sig_nb, sig_wifi, ext0, alarm, run_cnt, crc_code, indate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="selectByExample" parameterType="com.js.kbt.model.MouldHistoryExample" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="distinct"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      distinct 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="Base_Column_List" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    from mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <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 Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    select  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="Base_Column_List" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    from mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    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 Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    delete from mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <delete id="deleteByExample" parameterType="com.js.kbt.model.MouldHistoryExample"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    delete from mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <include refid="Example_Where_Clause" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <insert id="insert" parameterType="com.js.kbt.model.MouldHistory"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      SELECT LAST_INSERT_ID() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </selectKey> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into mould_history (sim, model_no, version,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      status, lng, lat, gprs_lac,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      gprs_ic, wifi_bbsid, temperature,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      battery, sig_2g, sig_nb,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sig_wifi, ext0, alarm,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      run_cnt, crc_code, indate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    values (#{sim,jdbcType=VARCHAR}, #{modelNo,jdbcType=VARCHAR}, #{version,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{status,jdbcType=VARCHAR}, #{lng,jdbcType=VARCHAR}, #{lat,jdbcType=VARCHAR}, #{gprsLac,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{gprsIc,jdbcType=VARCHAR}, #{wifiBbsid,jdbcType=VARCHAR}, #{temperature,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{battery,jdbcType=INTEGER}, #{sig2g,jdbcType=INTEGER}, #{sigNb,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{sigWifi,jdbcType=INTEGER}, #{ext0,jdbcType=VARCHAR}, #{alarm,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{runCnt,jdbcType=INTEGER}, #{crcCode,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <insert id="insertSelective" parameterType="com.js.kbt.model.MouldHistory"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      SELECT LAST_INSERT_ID() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </selectKey> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sim != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sim, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="modelNo != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        model_no, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="version != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        version, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        status, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="lng != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        lng, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="lat != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        lat, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="gprsLac != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gprs_lac, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="gprsIc != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gprs_ic, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="wifiBbsid != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        wifi_bbsid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="temperature != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        temperature, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="battery != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        battery, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sig2g != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_2g, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sigNb != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_nb, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sigWifi != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_wifi, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="ext0 != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ext0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="alarm != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        alarm, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="runCnt != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        run_cnt, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="crcCode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        crc_code, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="indate != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        indate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sim != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{sim,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="modelNo != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{modelNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="version != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{version,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{status,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="lng != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{lng,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="lat != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{lat,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="gprsLac != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{gprsLac,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="gprsIc != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{gprsIc,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="wifiBbsid != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{wifiBbsid,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="temperature != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{temperature,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="battery != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{battery,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sig2g != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{sig2g,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sigNb != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{sigNb,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sigWifi != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{sigWifi,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="ext0 != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{ext0,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="alarm != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{alarm,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="runCnt != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{runCnt,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="crcCode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{crcCode,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="indate != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{indate,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="countByExample" parameterType="com.js.kbt.model.MouldHistoryExample" resultType="java.lang.Long"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    select count(*) from mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <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 Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    update mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.id != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        id = #{record.id,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.sim != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sim = #{record.sim,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.modelNo != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        model_no = #{record.modelNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.version != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        version = #{record.version,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        status = #{record.status,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.lng != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        lng = #{record.lng,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.lat != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        lat = #{record.lat,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.gprsLac != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gprs_lac = #{record.gprsLac,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.gprsIc != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gprs_ic = #{record.gprsIc,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.wifiBbsid != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        wifi_bbsid = #{record.wifiBbsid,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.temperature != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        temperature = #{record.temperature,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.battery != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        battery = #{record.battery,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.sig2g != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_2g = #{record.sig2g,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.sigNb != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_nb = #{record.sigNb,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.sigWifi != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_wifi = #{record.sigWifi,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.ext0 != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ext0 = #{record.ext0,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.alarm != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        alarm = #{record.alarm,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.runCnt != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        run_cnt = #{record.runCnt,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.crcCode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        crc_code = #{record.crcCode,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 Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    update mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    set id = #{record.id,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sim = #{record.sim,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      model_no = #{record.modelNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      version = #{record.version,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      status = #{record.status,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      lng = #{record.lng,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      lat = #{record.lat,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      gprs_lac = #{record.gprsLac,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      gprs_ic = #{record.gprsIc,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      wifi_bbsid = #{record.wifiBbsid,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      temperature = #{record.temperature,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      battery = #{record.battery,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sig_2g = #{record.sig2g,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sig_nb = #{record.sigNb,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sig_wifi = #{record.sigWifi,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ext0 = #{record.ext0,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      alarm = #{record.alarm,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      run_cnt = #{record.runCnt,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      crc_code = #{record.crcCode,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.MouldHistory"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    update mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sim != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sim = #{sim,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="modelNo != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        model_no = #{modelNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="version != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        version = #{version,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        status = #{status,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="lng != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        lng = #{lng,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="lat != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        lat = #{lat,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="gprsLac != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gprs_lac = #{gprsLac,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="gprsIc != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gprs_ic = #{gprsIc,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="wifiBbsid != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        wifi_bbsid = #{wifiBbsid,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="temperature != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        temperature = #{temperature,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="battery != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        battery = #{battery,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sig2g != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_2g = #{sig2g,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sigNb != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_nb = #{sigNb,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="sigWifi != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sig_wifi = #{sigWifi,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="ext0 != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ext0 = #{ext0,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="alarm != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        alarm = #{alarm,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="runCnt != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        run_cnt = #{runCnt,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="crcCode != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        crc_code = #{crcCode,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.MouldHistory"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <!-- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      WARNING - @mbg.generated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element is automatically generated by MyBatis Generator, do not modify. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      This element was generated on Thu Aug 01 15:49:20 CST 2019. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    update mould_history 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    set sim = #{sim,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      model_no = #{modelNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      version = #{version,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      status = #{status,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      lng = #{lng,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      lat = #{lat,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      gprs_lac = #{gprsLac,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      gprs_ic = #{gprsIc,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      wifi_bbsid = #{wifiBbsid,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      temperature = #{temperature,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      battery = #{battery,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sig_2g = #{sig2g,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sig_nb = #{sigNb,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      sig_wifi = #{sigWifi,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ext0 = #{ext0,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      alarm = #{alarm,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      run_cnt = #{runCnt,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      crc_code = #{crcCode,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      indate = #{indate,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</mapper> 
			 |