|
@@ -1,28 +1,31 @@
|
|
|
<?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.gyee.frame.mapper.auto.WarningMapper">
|
|
|
- <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Warning">
|
|
|
+<mapper namespace="com.gyee.frame.mapper.auto.Warning2Mapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Warning2">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- <id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
- <result column="levelId" jdbcType="VARCHAR" property="levelid" />
|
|
|
- <result column="manufacturerCode" jdbcType="VARCHAR" property="manufacturercode" />
|
|
|
- <result column="englishText" jdbcType="VARCHAR" property="englishtext" />
|
|
|
- <result column="chineseText" jdbcType="VARCHAR" property="chinesetext" />
|
|
|
- <result column="parentId" jdbcType="VARCHAR" property="parentid" />
|
|
|
- <result column="isLeaf" jdbcType="SMALLINT" property="isleaf" />
|
|
|
- <result column="sequenceNumber" jdbcType="INTEGER" property="sequencenumber" />
|
|
|
- <result column="characteristic" jdbcType="VARCHAR" property="characteristic" />
|
|
|
- <result column="modelId" jdbcType="VARCHAR" property="modelid" />
|
|
|
- <result column="codeName" jdbcType="VARCHAR" property="codename" />
|
|
|
- <result column="ednaValue" jdbcType="INTEGER" property="ednavalue" />
|
|
|
- <result column="display" jdbcType="INTEGER" property="display" />
|
|
|
- <result column="warningClassifyId" jdbcType="VARCHAR" property="warningclassifyid" />
|
|
|
- <result column="isreset" jdbcType="DECIMAL" property="isreset" />
|
|
|
- <result column="standardTime" jdbcType="DECIMAL" property="standardtime" />
|
|
|
- <result column="warningtypeid" jdbcType="VARCHAR" property="warningtypeid" />
|
|
|
+ <id column="ID" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="LEVELID" jdbcType="VARCHAR" property="levelid" />
|
|
|
+ <result column="MANUFACTURERCODE" jdbcType="VARCHAR" property="manufacturercode" />
|
|
|
+ <result column="ENGLISHTEXT" jdbcType="VARCHAR" property="englishtext" />
|
|
|
+ <result column="CHINESETEXT" jdbcType="VARCHAR" property="chinesetext" />
|
|
|
+ <result column="PARENTID" jdbcType="VARCHAR" property="parentid" />
|
|
|
+ <result column="ISLEAF" jdbcType="DECIMAL" property="isleaf" />
|
|
|
+ <result column="SEQUENCENUMBER" jdbcType="DECIMAL" property="sequencenumber" />
|
|
|
+ <result column="CHARACTERISTIC" jdbcType="VARCHAR" property="characteristic" />
|
|
|
+ <result column="MODELID" jdbcType="VARCHAR" property="modelid" />
|
|
|
+ <result column="CODENAME" jdbcType="VARCHAR" property="codename" />
|
|
|
+ <result column="EDNAVALUE" jdbcType="DECIMAL" property="ednavalue" />
|
|
|
+ <result column="DISPLAY" jdbcType="DECIMAL" property="display" />
|
|
|
+ <result column="WARNINGCLASSIFYID" jdbcType="VARCHAR" property="warningclassifyid" />
|
|
|
+ <result column="STANDARDTIME" jdbcType="DECIMAL" property="standardtime" />
|
|
|
+ <result column="ISRESET" jdbcType="DECIMAL" property="isreset" />
|
|
|
+ <result column="CLASSIFICATION" jdbcType="VARCHAR" property="classification" />
|
|
|
+ <result column="FAULTCODE" jdbcType="VARCHAR" property="faultcode" />
|
|
|
+ <result column="RELATEDPARTS" jdbcType="VARCHAR" property="relatedparts" />
|
|
|
+ <result column="WARNINGTYPEID" jdbcType="VARCHAR" property="warningtypeid" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
@@ -95,11 +98,11 @@
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- id, levelId, manufacturerCode, englishText, chineseText, parentId, isLeaf, sequenceNumber,
|
|
|
- characteristic, modelId, codeName, ednaValue, display, warningClassifyId, isreset,
|
|
|
- standardTime, warningtypeid
|
|
|
+ ID, LEVELID, MANUFACTURERCODE, ENGLISHTEXT, CHINESETEXT, PARENTID, ISLEAF, SEQUENCENUMBER,
|
|
|
+ CHARACTERISTIC, MODELID, CODENAME, EDNAVALUE, DISPLAY, WARNINGCLASSIFYID, STANDARDTIME,
|
|
|
+ ISRESET, CLASSIFICATION, FAULTCODE, RELATEDPARTS, WARNINGTYPEID
|
|
|
</sql>
|
|
|
- <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WarningExample" resultMap="BaseResultMap">
|
|
|
+ <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Warning2Example" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -109,7 +112,7 @@
|
|
|
distinct
|
|
|
</if>
|
|
|
<include refid="Base_Column_List" />
|
|
|
- from warning2
|
|
|
+ from WARNING2
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -124,102 +127,113 @@
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
- from warning2
|
|
|
- where id = #{id,jdbcType=VARCHAR}
|
|
|
+ from WARNING2
|
|
|
+ where ID = #{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- delete from warning2
|
|
|
- where id = #{id,jdbcType=VARCHAR}
|
|
|
+ delete from WARNING2
|
|
|
+ where ID = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WarningExample">
|
|
|
+ <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Warning2Example">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- delete from warning2
|
|
|
+ delete from WARNING2
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="com.gyee.frame.model.auto.Warning">
|
|
|
+ <insert id="insert" parameterType="com.gyee.frame.model.auto.Warning2">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- insert into warning2 (id, levelId, manufacturerCode,
|
|
|
- englishText, chineseText, parentId,
|
|
|
- isLeaf, sequenceNumber, characteristic,
|
|
|
- modelId, codeName, ednaValue,
|
|
|
- display, warningClassifyId, isreset,
|
|
|
- standardTime, warningtypeid)
|
|
|
+ insert into WARNING2 (ID, LEVELID, MANUFACTURERCODE,
|
|
|
+ ENGLISHTEXT, CHINESETEXT, PARENTID,
|
|
|
+ ISLEAF, SEQUENCENUMBER, CHARACTERISTIC,
|
|
|
+ MODELID, CODENAME, EDNAVALUE,
|
|
|
+ DISPLAY, WARNINGCLASSIFYID, STANDARDTIME,
|
|
|
+ ISRESET, CLASSIFICATION, FAULTCODE,
|
|
|
+ RELATEDPARTS, WARNINGTYPEID)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{levelid,jdbcType=VARCHAR}, #{manufacturercode,jdbcType=VARCHAR},
|
|
|
#{englishtext,jdbcType=VARCHAR}, #{chinesetext,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR},
|
|
|
- #{isleaf,jdbcType=SMALLINT}, #{sequencenumber,jdbcType=INTEGER}, #{characteristic,jdbcType=VARCHAR},
|
|
|
- #{modelid,jdbcType=VARCHAR}, #{codename,jdbcType=VARCHAR}, #{ednavalue,jdbcType=INTEGER},
|
|
|
- #{display,jdbcType=INTEGER}, #{warningclassifyid,jdbcType=VARCHAR}, #{isreset,jdbcType=DECIMAL},
|
|
|
- #{standardtime,jdbcType=DECIMAL}, #{warningtypeid,jdbcType=VARCHAR})
|
|
|
+ #{isleaf,jdbcType=DECIMAL}, #{sequencenumber,jdbcType=DECIMAL}, #{characteristic,jdbcType=VARCHAR},
|
|
|
+ #{modelid,jdbcType=VARCHAR}, #{codename,jdbcType=VARCHAR}, #{ednavalue,jdbcType=DECIMAL},
|
|
|
+ #{display,jdbcType=DECIMAL}, #{warningclassifyid,jdbcType=VARCHAR}, #{standardtime,jdbcType=DECIMAL},
|
|
|
+ #{isreset,jdbcType=DECIMAL}, #{classification,jdbcType=VARCHAR}, #{faultcode,jdbcType=VARCHAR},
|
|
|
+ #{relatedparts,jdbcType=VARCHAR}, #{warningtypeid,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Warning">
|
|
|
+ <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Warning2">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- insert into warning2
|
|
|
+ insert into WARNING2
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
- id,
|
|
|
+ ID,
|
|
|
</if>
|
|
|
<if test="levelid != null">
|
|
|
- levelId,
|
|
|
+ LEVELID,
|
|
|
</if>
|
|
|
<if test="manufacturercode != null">
|
|
|
- manufacturerCode,
|
|
|
+ MANUFACTURERCODE,
|
|
|
</if>
|
|
|
<if test="englishtext != null">
|
|
|
- englishText,
|
|
|
+ ENGLISHTEXT,
|
|
|
</if>
|
|
|
<if test="chinesetext != null">
|
|
|
- chineseText,
|
|
|
+ CHINESETEXT,
|
|
|
</if>
|
|
|
<if test="parentid != null">
|
|
|
- parentId,
|
|
|
+ PARENTID,
|
|
|
</if>
|
|
|
<if test="isleaf != null">
|
|
|
- isLeaf,
|
|
|
+ ISLEAF,
|
|
|
</if>
|
|
|
<if test="sequencenumber != null">
|
|
|
- sequenceNumber,
|
|
|
+ SEQUENCENUMBER,
|
|
|
</if>
|
|
|
<if test="characteristic != null">
|
|
|
- characteristic,
|
|
|
+ CHARACTERISTIC,
|
|
|
</if>
|
|
|
<if test="modelid != null">
|
|
|
- modelId,
|
|
|
+ MODELID,
|
|
|
</if>
|
|
|
<if test="codename != null">
|
|
|
- codeName,
|
|
|
+ CODENAME,
|
|
|
</if>
|
|
|
<if test="ednavalue != null">
|
|
|
- ednaValue,
|
|
|
+ EDNAVALUE,
|
|
|
</if>
|
|
|
<if test="display != null">
|
|
|
- display,
|
|
|
+ DISPLAY,
|
|
|
</if>
|
|
|
<if test="warningclassifyid != null">
|
|
|
- warningClassifyId,
|
|
|
+ WARNINGCLASSIFYID,
|
|
|
+ </if>
|
|
|
+ <if test="standardtime != null">
|
|
|
+ STANDARDTIME,
|
|
|
</if>
|
|
|
<if test="isreset != null">
|
|
|
- isreset,
|
|
|
+ ISRESET,
|
|
|
</if>
|
|
|
- <if test="standardtime != null">
|
|
|
- standardTime,
|
|
|
+ <if test="classification != null">
|
|
|
+ CLASSIFICATION,
|
|
|
+ </if>
|
|
|
+ <if test="faultcode != null">
|
|
|
+ FAULTCODE,
|
|
|
+ </if>
|
|
|
+ <if test="relatedparts != null">
|
|
|
+ RELATEDPARTS,
|
|
|
</if>
|
|
|
<if test="warningtypeid != null">
|
|
|
- warningtypeid,
|
|
|
+ WARNINGTYPEID,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -242,10 +256,10 @@
|
|
|
#{parentid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="isleaf != null">
|
|
|
- #{isleaf,jdbcType=SMALLINT},
|
|
|
+ #{isleaf,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="sequencenumber != null">
|
|
|
- #{sequencenumber,jdbcType=INTEGER},
|
|
|
+ #{sequencenumber,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="characteristic != null">
|
|
|
#{characteristic,jdbcType=VARCHAR},
|
|
@@ -257,31 +271,40 @@
|
|
|
#{codename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="ednavalue != null">
|
|
|
- #{ednavalue,jdbcType=INTEGER},
|
|
|
+ #{ednavalue,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="display != null">
|
|
|
- #{display,jdbcType=INTEGER},
|
|
|
+ #{display,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="warningclassifyid != null">
|
|
|
#{warningclassifyid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="standardtime != null">
|
|
|
+ #{standardtime,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
<if test="isreset != null">
|
|
|
#{isreset,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="standardtime != null">
|
|
|
- #{standardtime,jdbcType=DECIMAL},
|
|
|
+ <if test="classification != null">
|
|
|
+ #{classification,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="faultcode != null">
|
|
|
+ #{faultcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="relatedparts != null">
|
|
|
+ #{relatedparts,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="warningtypeid != null">
|
|
|
#{warningtypeid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
- <select id="countByExample" parameterType="com.gyee.frame.model.auto.WarningExample" resultType="java.lang.Long">
|
|
|
+ <select id="countByExample" parameterType="com.gyee.frame.model.auto.Warning2Example" resultType="java.lang.Long">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- select count(*) from warning2
|
|
|
+ select count(*) from WARNING2
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -291,58 +314,67 @@
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- update warning2
|
|
|
+ update WARNING2
|
|
|
<set>
|
|
|
<if test="record.id != null">
|
|
|
- id = #{record.id,jdbcType=VARCHAR},
|
|
|
+ ID = #{record.id,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.levelid != null">
|
|
|
- levelId = #{record.levelid,jdbcType=VARCHAR},
|
|
|
+ LEVELID = #{record.levelid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.manufacturercode != null">
|
|
|
- manufacturerCode = #{record.manufacturercode,jdbcType=VARCHAR},
|
|
|
+ MANUFACTURERCODE = #{record.manufacturercode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.englishtext != null">
|
|
|
- englishText = #{record.englishtext,jdbcType=VARCHAR},
|
|
|
+ ENGLISHTEXT = #{record.englishtext,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.chinesetext != null">
|
|
|
- chineseText = #{record.chinesetext,jdbcType=VARCHAR},
|
|
|
+ CHINESETEXT = #{record.chinesetext,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.parentid != null">
|
|
|
- parentId = #{record.parentid,jdbcType=VARCHAR},
|
|
|
+ PARENTID = #{record.parentid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.isleaf != null">
|
|
|
- isLeaf = #{record.isleaf,jdbcType=SMALLINT},
|
|
|
+ ISLEAF = #{record.isleaf,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="record.sequencenumber != null">
|
|
|
- sequenceNumber = #{record.sequencenumber,jdbcType=INTEGER},
|
|
|
+ SEQUENCENUMBER = #{record.sequencenumber,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="record.characteristic != null">
|
|
|
- characteristic = #{record.characteristic,jdbcType=VARCHAR},
|
|
|
+ CHARACTERISTIC = #{record.characteristic,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.modelid != null">
|
|
|
- modelId = #{record.modelid,jdbcType=VARCHAR},
|
|
|
+ MODELID = #{record.modelid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.codename != null">
|
|
|
- codeName = #{record.codename,jdbcType=VARCHAR},
|
|
|
+ CODENAME = #{record.codename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.ednavalue != null">
|
|
|
- ednaValue = #{record.ednavalue,jdbcType=INTEGER},
|
|
|
+ EDNAVALUE = #{record.ednavalue,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="record.display != null">
|
|
|
- display = #{record.display,jdbcType=INTEGER},
|
|
|
+ DISPLAY = #{record.display,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="record.warningclassifyid != null">
|
|
|
- warningClassifyId = #{record.warningclassifyid,jdbcType=VARCHAR},
|
|
|
+ WARNINGCLASSIFYID = #{record.warningclassifyid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.standardtime != null">
|
|
|
+ STANDARDTIME = #{record.standardtime,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="record.isreset != null">
|
|
|
- isreset = #{record.isreset,jdbcType=DECIMAL},
|
|
|
+ ISRESET = #{record.isreset,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="record.standardtime != null">
|
|
|
- standardTime = #{record.standardtime,jdbcType=DECIMAL},
|
|
|
+ <if test="record.classification != null">
|
|
|
+ CLASSIFICATION = #{record.classification,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.faultcode != null">
|
|
|
+ FAULTCODE = #{record.faultcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.relatedparts != null">
|
|
|
+ RELATEDPARTS = #{record.relatedparts,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.warningtypeid != null">
|
|
|
- warningtypeid = #{record.warningtypeid,jdbcType=VARCHAR},
|
|
|
+ WARNINGTYPEID = #{record.warningtypeid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
@@ -354,108 +386,123 @@
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- update warning2
|
|
|
- set id = #{record.id,jdbcType=VARCHAR},
|
|
|
- levelId = #{record.levelid,jdbcType=VARCHAR},
|
|
|
- manufacturerCode = #{record.manufacturercode,jdbcType=VARCHAR},
|
|
|
- englishText = #{record.englishtext,jdbcType=VARCHAR},
|
|
|
- chineseText = #{record.chinesetext,jdbcType=VARCHAR},
|
|
|
- parentId = #{record.parentid,jdbcType=VARCHAR},
|
|
|
- isLeaf = #{record.isleaf,jdbcType=SMALLINT},
|
|
|
- sequenceNumber = #{record.sequencenumber,jdbcType=INTEGER},
|
|
|
- characteristic = #{record.characteristic,jdbcType=VARCHAR},
|
|
|
- modelId = #{record.modelid,jdbcType=VARCHAR},
|
|
|
- codeName = #{record.codename,jdbcType=VARCHAR},
|
|
|
- ednaValue = #{record.ednavalue,jdbcType=INTEGER},
|
|
|
- display = #{record.display,jdbcType=INTEGER},
|
|
|
- warningClassifyId = #{record.warningclassifyid,jdbcType=VARCHAR},
|
|
|
- isreset = #{record.isreset,jdbcType=DECIMAL},
|
|
|
- standardTime = #{record.standardtime,jdbcType=DECIMAL},
|
|
|
- warningtypeid = #{record.warningtypeid,jdbcType=VARCHAR}
|
|
|
+ update WARNING2
|
|
|
+ set ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ LEVELID = #{record.levelid,jdbcType=VARCHAR},
|
|
|
+ MANUFACTURERCODE = #{record.manufacturercode,jdbcType=VARCHAR},
|
|
|
+ ENGLISHTEXT = #{record.englishtext,jdbcType=VARCHAR},
|
|
|
+ CHINESETEXT = #{record.chinesetext,jdbcType=VARCHAR},
|
|
|
+ PARENTID = #{record.parentid,jdbcType=VARCHAR},
|
|
|
+ ISLEAF = #{record.isleaf,jdbcType=DECIMAL},
|
|
|
+ SEQUENCENUMBER = #{record.sequencenumber,jdbcType=DECIMAL},
|
|
|
+ CHARACTERISTIC = #{record.characteristic,jdbcType=VARCHAR},
|
|
|
+ MODELID = #{record.modelid,jdbcType=VARCHAR},
|
|
|
+ CODENAME = #{record.codename,jdbcType=VARCHAR},
|
|
|
+ EDNAVALUE = #{record.ednavalue,jdbcType=DECIMAL},
|
|
|
+ DISPLAY = #{record.display,jdbcType=DECIMAL},
|
|
|
+ WARNINGCLASSIFYID = #{record.warningclassifyid,jdbcType=VARCHAR},
|
|
|
+ STANDARDTIME = #{record.standardtime,jdbcType=DECIMAL},
|
|
|
+ ISRESET = #{record.isreset,jdbcType=DECIMAL},
|
|
|
+ CLASSIFICATION = #{record.classification,jdbcType=VARCHAR},
|
|
|
+ FAULTCODE = #{record.faultcode,jdbcType=VARCHAR},
|
|
|
+ RELATEDPARTS = #{record.relatedparts,jdbcType=VARCHAR},
|
|
|
+ WARNINGTYPEID = #{record.warningtypeid,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Warning">
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Warning2">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- update warning2
|
|
|
+ update WARNING2
|
|
|
<set>
|
|
|
<if test="levelid != null">
|
|
|
- levelId = #{levelid,jdbcType=VARCHAR},
|
|
|
+ LEVELID = #{levelid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="manufacturercode != null">
|
|
|
- manufacturerCode = #{manufacturercode,jdbcType=VARCHAR},
|
|
|
+ MANUFACTURERCODE = #{manufacturercode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="englishtext != null">
|
|
|
- englishText = #{englishtext,jdbcType=VARCHAR},
|
|
|
+ ENGLISHTEXT = #{englishtext,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="chinesetext != null">
|
|
|
- chineseText = #{chinesetext,jdbcType=VARCHAR},
|
|
|
+ CHINESETEXT = #{chinesetext,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="parentid != null">
|
|
|
- parentId = #{parentid,jdbcType=VARCHAR},
|
|
|
+ PARENTID = #{parentid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="isleaf != null">
|
|
|
- isLeaf = #{isleaf,jdbcType=SMALLINT},
|
|
|
+ ISLEAF = #{isleaf,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="sequencenumber != null">
|
|
|
- sequenceNumber = #{sequencenumber,jdbcType=INTEGER},
|
|
|
+ SEQUENCENUMBER = #{sequencenumber,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="characteristic != null">
|
|
|
- characteristic = #{characteristic,jdbcType=VARCHAR},
|
|
|
+ CHARACTERISTIC = #{characteristic,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="modelid != null">
|
|
|
- modelId = #{modelid,jdbcType=VARCHAR},
|
|
|
+ MODELID = #{modelid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="codename != null">
|
|
|
- codeName = #{codename,jdbcType=VARCHAR},
|
|
|
+ CODENAME = #{codename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="ednavalue != null">
|
|
|
- ednaValue = #{ednavalue,jdbcType=INTEGER},
|
|
|
+ EDNAVALUE = #{ednavalue,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="display != null">
|
|
|
- display = #{display,jdbcType=INTEGER},
|
|
|
+ DISPLAY = #{display,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="warningclassifyid != null">
|
|
|
- warningClassifyId = #{warningclassifyid,jdbcType=VARCHAR},
|
|
|
+ WARNINGCLASSIFYID = #{warningclassifyid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="standardtime != null">
|
|
|
+ STANDARDTIME = #{standardtime,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="isreset != null">
|
|
|
- isreset = #{isreset,jdbcType=DECIMAL},
|
|
|
+ ISRESET = #{isreset,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="standardtime != null">
|
|
|
- standardTime = #{standardtime,jdbcType=DECIMAL},
|
|
|
+ <if test="classification != null">
|
|
|
+ CLASSIFICATION = #{classification,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="faultcode != null">
|
|
|
+ FAULTCODE = #{faultcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="relatedparts != null">
|
|
|
+ RELATEDPARTS = #{relatedparts,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="warningtypeid != null">
|
|
|
- warningtypeid = #{warningtypeid,jdbcType=VARCHAR},
|
|
|
+ WARNINGTYPEID = #{warningtypeid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
- where id = #{id,jdbcType=VARCHAR}
|
|
|
+ where ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Warning">
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Warning2">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- update warning2
|
|
|
- set levelId = #{levelid,jdbcType=VARCHAR},
|
|
|
- manufacturerCode = #{manufacturercode,jdbcType=VARCHAR},
|
|
|
- englishText = #{englishtext,jdbcType=VARCHAR},
|
|
|
- chineseText = #{chinesetext,jdbcType=VARCHAR},
|
|
|
- parentId = #{parentid,jdbcType=VARCHAR},
|
|
|
- isLeaf = #{isleaf,jdbcType=SMALLINT},
|
|
|
- sequenceNumber = #{sequencenumber,jdbcType=INTEGER},
|
|
|
- characteristic = #{characteristic,jdbcType=VARCHAR},
|
|
|
- modelId = #{modelid,jdbcType=VARCHAR},
|
|
|
- codeName = #{codename,jdbcType=VARCHAR},
|
|
|
- ednaValue = #{ednavalue,jdbcType=INTEGER},
|
|
|
- display = #{display,jdbcType=INTEGER},
|
|
|
- warningClassifyId = #{warningclassifyid,jdbcType=VARCHAR},
|
|
|
- isreset = #{isreset,jdbcType=DECIMAL},
|
|
|
- standardTime = #{standardtime,jdbcType=DECIMAL},
|
|
|
- warningtypeid = #{warningtypeid,jdbcType=VARCHAR}
|
|
|
- where id = #{id,jdbcType=VARCHAR}
|
|
|
+ update WARNING2
|
|
|
+ set LEVELID = #{levelid,jdbcType=VARCHAR},
|
|
|
+ MANUFACTURERCODE = #{manufacturercode,jdbcType=VARCHAR},
|
|
|
+ ENGLISHTEXT = #{englishtext,jdbcType=VARCHAR},
|
|
|
+ CHINESETEXT = #{chinesetext,jdbcType=VARCHAR},
|
|
|
+ PARENTID = #{parentid,jdbcType=VARCHAR},
|
|
|
+ ISLEAF = #{isleaf,jdbcType=DECIMAL},
|
|
|
+ SEQUENCENUMBER = #{sequencenumber,jdbcType=DECIMAL},
|
|
|
+ CHARACTERISTIC = #{characteristic,jdbcType=VARCHAR},
|
|
|
+ MODELID = #{modelid,jdbcType=VARCHAR},
|
|
|
+ CODENAME = #{codename,jdbcType=VARCHAR},
|
|
|
+ EDNAVALUE = #{ednavalue,jdbcType=DECIMAL},
|
|
|
+ DISPLAY = #{display,jdbcType=DECIMAL},
|
|
|
+ WARNINGCLASSIFYID = #{warningclassifyid,jdbcType=VARCHAR},
|
|
|
+ STANDARDTIME = #{standardtime,jdbcType=DECIMAL},
|
|
|
+ ISRESET = #{isreset,jdbcType=DECIMAL},
|
|
|
+ CLASSIFICATION = #{classification,jdbcType=VARCHAR},
|
|
|
+ FAULTCODE = #{faultcode,jdbcType=VARCHAR},
|
|
|
+ RELATEDPARTS = #{relatedparts,jdbcType=VARCHAR},
|
|
|
+ WARNINGTYPEID = #{warningtypeid,jdbcType=VARCHAR}
|
|
|
+ where ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|