|
@@ -6,23 +6,24 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- <id column="ID" jdbcType="VARCHAR" property="id" />
|
|
|
|
- <result column="CODE" jdbcType="VARCHAR" property="code" />
|
|
|
|
- <result column="NAME" jdbcType="VARCHAR" property="name" />
|
|
|
|
- <result column="MODEL" jdbcType="VARCHAR" property="model" />
|
|
|
|
- <result column="VALUEUNIT" jdbcType="VARCHAR" property="valueunit" />
|
|
|
|
- <result column="ENGLISHNAME" jdbcType="VARCHAR" property="englishname" />
|
|
|
|
- <result column="TYPEID" jdbcType="VARCHAR" property="typeid" />
|
|
|
|
- <result column="MODELID" jdbcType="VARCHAR" property="modelid" />
|
|
|
|
- <result column="MAXVAL" jdbcType="DECIMAL" property="maxval" />
|
|
|
|
- <result column="MINVAL" jdbcType="DECIMAL" property="minval" />
|
|
|
|
- <result column="REASONABLEMAXVAL" jdbcType="DECIMAL" property="reasonablemaxval" />
|
|
|
|
- <result column="REASONABLEMINVAL" jdbcType="DECIMAL" property="reasonableminval" />
|
|
|
|
- <result column="UNIFORMCODE" jdbcType="VARCHAR" property="uniformcode" />
|
|
|
|
- <result column="SHORTID" jdbcType="VARCHAR" property="shortid" />
|
|
|
|
- <result column="LONGID" jdbcType="VARCHAR" property="longid" />
|
|
|
|
- <result column="WINDSUBSTATIONID" jdbcType="VARCHAR" property="windsubstationid" />
|
|
|
|
- <result column="REALTIMEID" jdbcType="VARCHAR" property="realtimeid" />
|
|
|
|
|
|
+ <id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
|
+ <result column="code" jdbcType="VARCHAR" property="code" />
|
|
|
|
+ <result column="name" jdbcType="VARCHAR" property="name" />
|
|
|
|
+ <result column="model" jdbcType="VARCHAR" property="model" />
|
|
|
|
+ <result column="valueunit" jdbcType="VARCHAR" property="valueunit" />
|
|
|
|
+ <result column="englishname" jdbcType="VARCHAR" property="englishname" />
|
|
|
|
+ <result column="typeid" jdbcType="VARCHAR" property="typeid" />
|
|
|
|
+ <result column="modelid" jdbcType="VARCHAR" property="modelid" />
|
|
|
|
+ <result column="maxval" jdbcType="NUMERIC" property="maxval" />
|
|
|
|
+ <result column="minval" jdbcType="NUMERIC" property="minval" />
|
|
|
|
+ <result column="reasonablemaxval" jdbcType="NUMERIC" property="reasonablemaxval" />
|
|
|
|
+ <result column="reasonableminval" jdbcType="NUMERIC" property="reasonableminval" />
|
|
|
|
+ <result column="windsubstationid" jdbcType="VARCHAR" property="windsubstationid" />
|
|
|
|
+ <result column="uniformcode" jdbcType="VARCHAR" property="uniformcode" />
|
|
|
|
+ <result column="shortid" jdbcType="VARCHAR" property="shortid" />
|
|
|
|
+ <result column="longid" jdbcType="VARCHAR" property="longid" />
|
|
|
|
+ <result column="windpowerstationid" jdbcType="VARCHAR" property="windpowerstationid" />
|
|
|
|
+ <result column="realtimeid" jdbcType="VARCHAR" property="realtimeid" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<!--
|
|
<!--
|
|
@@ -95,8 +96,9 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- ID, CODE, NAME, MODEL, VALUEUNIT, ENGLISHNAME, TYPEID, MODELID, MAXVAL, MINVAL, REASONABLEMAXVAL,
|
|
|
|
- REASONABLEMINVAL, UNIFORMCODE, SHORTID, LONGID, WINDSUBSTATIONID, REALTIMEID
|
|
|
|
|
|
+ id, code, name, model, valueunit, englishname, typeid, modelid, maxval, minval, reasonablemaxval,
|
|
|
|
+ reasonableminval, windsubstationid, uniformcode, shortid, longid, windpowerstationid,
|
|
|
|
+ realtimeid
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindsubstationtestingpointnewExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindsubstationtestingpointnewExample" resultMap="BaseResultMap">
|
|
<!--
|
|
<!--
|
|
@@ -108,7 +110,7 @@
|
|
distinct
|
|
distinct
|
|
</if>
|
|
</if>
|
|
<include refid="Base_Column_List" />
|
|
<include refid="Base_Column_List" />
|
|
- from WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
|
|
+ from windsubstationtestingpointnew
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -123,23 +125,23 @@
|
|
-->
|
|
-->
|
|
select
|
|
select
|
|
<include refid="Base_Column_List" />
|
|
<include refid="Base_Column_List" />
|
|
- from WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
- where ID = #{id,jdbcType=VARCHAR}
|
|
|
|
|
|
+ from windsubstationtestingpointnew
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
</select>
|
|
</select>
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
<!--
|
|
<!--
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- delete from WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
- where ID = #{id,jdbcType=VARCHAR}
|
|
|
|
|
|
+ delete from windsubstationtestingpointnew
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
</delete>
|
|
</delete>
|
|
<delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindsubstationtestingpointnewExample">
|
|
<delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindsubstationtestingpointnewExample">
|
|
<!--
|
|
<!--
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- delete from WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
|
|
+ delete from windsubstationtestingpointnew
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -149,76 +151,81 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- insert into WINDSUBSTATIONTESTINGPOINTNEW (ID, CODE, NAME,
|
|
|
|
- MODEL, VALUEUNIT, ENGLISHNAME,
|
|
|
|
- TYPEID, MODELID, MAXVAL,
|
|
|
|
- MINVAL, REASONABLEMAXVAL, REASONABLEMINVAL,
|
|
|
|
- UNIFORMCODE, SHORTID, LONGID,
|
|
|
|
- WINDSUBSTATIONID, REALTIMEID)
|
|
|
|
|
|
+ insert into windsubstationtestingpointnew (id, code, name,
|
|
|
|
+ model, valueunit, englishname,
|
|
|
|
+ typeid, modelid, maxval,
|
|
|
|
+ minval, reasonablemaxval, reasonableminval,
|
|
|
|
+ windsubstationid, uniformcode, shortid,
|
|
|
|
+ longid, windpowerstationid, realtimeid
|
|
|
|
+ )
|
|
values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
|
#{model,jdbcType=VARCHAR}, #{valueunit,jdbcType=VARCHAR}, #{englishname,jdbcType=VARCHAR},
|
|
#{model,jdbcType=VARCHAR}, #{valueunit,jdbcType=VARCHAR}, #{englishname,jdbcType=VARCHAR},
|
|
- #{typeid,jdbcType=VARCHAR}, #{modelid,jdbcType=VARCHAR}, #{maxval,jdbcType=DECIMAL},
|
|
|
|
- #{minval,jdbcType=DECIMAL}, #{reasonablemaxval,jdbcType=DECIMAL}, #{reasonableminval,jdbcType=DECIMAL},
|
|
|
|
- #{uniformcode,jdbcType=VARCHAR}, #{shortid,jdbcType=VARCHAR}, #{longid,jdbcType=VARCHAR},
|
|
|
|
- #{windsubstationid,jdbcType=VARCHAR}, #{realtimeid,jdbcType=VARCHAR})
|
|
|
|
|
|
+ #{typeid,jdbcType=VARCHAR}, #{modelid,jdbcType=VARCHAR}, #{maxval,jdbcType=NUMERIC},
|
|
|
|
+ #{minval,jdbcType=NUMERIC}, #{reasonablemaxval,jdbcType=NUMERIC}, #{reasonableminval,jdbcType=NUMERIC},
|
|
|
|
+ #{windsubstationid,jdbcType=VARCHAR}, #{uniformcode,jdbcType=VARCHAR}, #{shortid,jdbcType=VARCHAR},
|
|
|
|
+ #{longid,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, #{realtimeid,jdbcType=VARCHAR}
|
|
|
|
+ )
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Windsubstationtestingpointnew">
|
|
<insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Windsubstationtestingpointnew">
|
|
<!--
|
|
<!--
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- insert into WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
|
|
+ insert into windsubstationtestingpointnew
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
- ID,
|
|
|
|
|
|
+ id,
|
|
</if>
|
|
</if>
|
|
<if test="code != null">
|
|
<if test="code != null">
|
|
- CODE,
|
|
|
|
|
|
+ code,
|
|
</if>
|
|
</if>
|
|
<if test="name != null">
|
|
<if test="name != null">
|
|
- NAME,
|
|
|
|
|
|
+ name,
|
|
</if>
|
|
</if>
|
|
<if test="model != null">
|
|
<if test="model != null">
|
|
- MODEL,
|
|
|
|
|
|
+ model,
|
|
</if>
|
|
</if>
|
|
<if test="valueunit != null">
|
|
<if test="valueunit != null">
|
|
- VALUEUNIT,
|
|
|
|
|
|
+ valueunit,
|
|
</if>
|
|
</if>
|
|
<if test="englishname != null">
|
|
<if test="englishname != null">
|
|
- ENGLISHNAME,
|
|
|
|
|
|
+ englishname,
|
|
</if>
|
|
</if>
|
|
<if test="typeid != null">
|
|
<if test="typeid != null">
|
|
- TYPEID,
|
|
|
|
|
|
+ typeid,
|
|
</if>
|
|
</if>
|
|
<if test="modelid != null">
|
|
<if test="modelid != null">
|
|
- MODELID,
|
|
|
|
|
|
+ modelid,
|
|
</if>
|
|
</if>
|
|
<if test="maxval != null">
|
|
<if test="maxval != null">
|
|
- MAXVAL,
|
|
|
|
|
|
+ maxval,
|
|
</if>
|
|
</if>
|
|
<if test="minval != null">
|
|
<if test="minval != null">
|
|
- MINVAL,
|
|
|
|
|
|
+ minval,
|
|
</if>
|
|
</if>
|
|
<if test="reasonablemaxval != null">
|
|
<if test="reasonablemaxval != null">
|
|
- REASONABLEMAXVAL,
|
|
|
|
|
|
+ reasonablemaxval,
|
|
</if>
|
|
</if>
|
|
<if test="reasonableminval != null">
|
|
<if test="reasonableminval != null">
|
|
- REASONABLEMINVAL,
|
|
|
|
|
|
+ reasonableminval,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="windsubstationid != null">
|
|
|
|
+ windsubstationid,
|
|
</if>
|
|
</if>
|
|
<if test="uniformcode != null">
|
|
<if test="uniformcode != null">
|
|
- UNIFORMCODE,
|
|
|
|
|
|
+ uniformcode,
|
|
</if>
|
|
</if>
|
|
<if test="shortid != null">
|
|
<if test="shortid != null">
|
|
- SHORTID,
|
|
|
|
|
|
+ shortid,
|
|
</if>
|
|
</if>
|
|
<if test="longid != null">
|
|
<if test="longid != null">
|
|
- LONGID,
|
|
|
|
|
|
+ longid,
|
|
</if>
|
|
</if>
|
|
- <if test="windsubstationid != null">
|
|
|
|
- WINDSUBSTATIONID,
|
|
|
|
|
|
+ <if test="windpowerstationid != null">
|
|
|
|
+ windpowerstationid,
|
|
</if>
|
|
</if>
|
|
<if test="realtimeid != null">
|
|
<if test="realtimeid != null">
|
|
- REALTIMEID,
|
|
|
|
|
|
+ realtimeid,
|
|
</if>
|
|
</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -247,16 +254,19 @@
|
|
#{modelid,jdbcType=VARCHAR},
|
|
#{modelid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="maxval != null">
|
|
<if test="maxval != null">
|
|
- #{maxval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ #{maxval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="minval != null">
|
|
<if test="minval != null">
|
|
- #{minval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ #{minval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="reasonablemaxval != null">
|
|
<if test="reasonablemaxval != null">
|
|
- #{reasonablemaxval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ #{reasonablemaxval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="reasonableminval != null">
|
|
<if test="reasonableminval != null">
|
|
- #{reasonableminval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ #{reasonableminval,jdbcType=NUMERIC},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="windsubstationid != null">
|
|
|
|
+ #{windsubstationid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="uniformcode != null">
|
|
<if test="uniformcode != null">
|
|
#{uniformcode,jdbcType=VARCHAR},
|
|
#{uniformcode,jdbcType=VARCHAR},
|
|
@@ -267,8 +277,8 @@
|
|
<if test="longid != null">
|
|
<if test="longid != null">
|
|
#{longid,jdbcType=VARCHAR},
|
|
#{longid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="windsubstationid != null">
|
|
|
|
- #{windsubstationid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ <if test="windpowerstationid != null">
|
|
|
|
+ #{windpowerstationid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="realtimeid != null">
|
|
<if test="realtimeid != null">
|
|
#{realtimeid,jdbcType=VARCHAR},
|
|
#{realtimeid,jdbcType=VARCHAR},
|
|
@@ -280,7 +290,7 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- select count(*) from WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
|
|
+ select count(*) from windsubstationtestingpointnew
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause" />
|
|
<include refid="Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -290,58 +300,61 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- update WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
|
|
+ update windsubstationtestingpointnew
|
|
<set>
|
|
<set>
|
|
<if test="record.id != null">
|
|
<if test="record.id != null">
|
|
- ID = #{record.id,jdbcType=VARCHAR},
|
|
|
|
|
|
+ id = #{record.id,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.code != null">
|
|
<if test="record.code != null">
|
|
- CODE = #{record.code,jdbcType=VARCHAR},
|
|
|
|
|
|
+ code = #{record.code,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.name != null">
|
|
<if test="record.name != null">
|
|
- NAME = #{record.name,jdbcType=VARCHAR},
|
|
|
|
|
|
+ name = #{record.name,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.model != null">
|
|
<if test="record.model != null">
|
|
- MODEL = #{record.model,jdbcType=VARCHAR},
|
|
|
|
|
|
+ model = #{record.model,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.valueunit != null">
|
|
<if test="record.valueunit != null">
|
|
- VALUEUNIT = #{record.valueunit,jdbcType=VARCHAR},
|
|
|
|
|
|
+ valueunit = #{record.valueunit,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.englishname != null">
|
|
<if test="record.englishname != null">
|
|
- ENGLISHNAME = #{record.englishname,jdbcType=VARCHAR},
|
|
|
|
|
|
+ englishname = #{record.englishname,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.typeid != null">
|
|
<if test="record.typeid != null">
|
|
- TYPEID = #{record.typeid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ typeid = #{record.typeid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.modelid != null">
|
|
<if test="record.modelid != null">
|
|
- MODELID = #{record.modelid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ modelid = #{record.modelid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.maxval != null">
|
|
<if test="record.maxval != null">
|
|
- MAXVAL = #{record.maxval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ maxval = #{record.maxval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="record.minval != null">
|
|
<if test="record.minval != null">
|
|
- MINVAL = #{record.minval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ minval = #{record.minval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="record.reasonablemaxval != null">
|
|
<if test="record.reasonablemaxval != null">
|
|
- REASONABLEMAXVAL = #{record.reasonablemaxval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ reasonablemaxval = #{record.reasonablemaxval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="record.reasonableminval != null">
|
|
<if test="record.reasonableminval != null">
|
|
- REASONABLEMINVAL = #{record.reasonableminval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ reasonableminval = #{record.reasonableminval,jdbcType=NUMERIC},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.windsubstationid != null">
|
|
|
|
+ windsubstationid = #{record.windsubstationid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.uniformcode != null">
|
|
<if test="record.uniformcode != null">
|
|
- UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
|
|
|
|
|
|
+ uniformcode = #{record.uniformcode,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.shortid != null">
|
|
<if test="record.shortid != null">
|
|
- SHORTID = #{record.shortid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ shortid = #{record.shortid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.longid != null">
|
|
<if test="record.longid != null">
|
|
- LONGID = #{record.longid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ longid = #{record.longid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="record.windsubstationid != null">
|
|
|
|
- WINDSUBSTATIONID = #{record.windsubstationid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ <if test="record.windpowerstationid != null">
|
|
|
|
+ windpowerstationid = #{record.windpowerstationid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.realtimeid != null">
|
|
<if test="record.realtimeid != null">
|
|
- REALTIMEID = #{record.realtimeid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ realtimeid = #{record.realtimeid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
</set>
|
|
</set>
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
@@ -353,24 +366,25 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- update WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
- set ID = #{record.id,jdbcType=VARCHAR},
|
|
|
|
- CODE = #{record.code,jdbcType=VARCHAR},
|
|
|
|
- NAME = #{record.name,jdbcType=VARCHAR},
|
|
|
|
- MODEL = #{record.model,jdbcType=VARCHAR},
|
|
|
|
- VALUEUNIT = #{record.valueunit,jdbcType=VARCHAR},
|
|
|
|
- ENGLISHNAME = #{record.englishname,jdbcType=VARCHAR},
|
|
|
|
- TYPEID = #{record.typeid,jdbcType=VARCHAR},
|
|
|
|
- MODELID = #{record.modelid,jdbcType=VARCHAR},
|
|
|
|
- MAXVAL = #{record.maxval,jdbcType=DECIMAL},
|
|
|
|
- MINVAL = #{record.minval,jdbcType=DECIMAL},
|
|
|
|
- REASONABLEMAXVAL = #{record.reasonablemaxval,jdbcType=DECIMAL},
|
|
|
|
- REASONABLEMINVAL = #{record.reasonableminval,jdbcType=DECIMAL},
|
|
|
|
- UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
|
|
|
|
- SHORTID = #{record.shortid,jdbcType=VARCHAR},
|
|
|
|
- LONGID = #{record.longid,jdbcType=VARCHAR},
|
|
|
|
- WINDSUBSTATIONID = #{record.windsubstationid,jdbcType=VARCHAR},
|
|
|
|
- REALTIMEID = #{record.realtimeid,jdbcType=VARCHAR}
|
|
|
|
|
|
+ update windsubstationtestingpointnew
|
|
|
|
+ set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
+ code = #{record.code,jdbcType=VARCHAR},
|
|
|
|
+ name = #{record.name,jdbcType=VARCHAR},
|
|
|
|
+ model = #{record.model,jdbcType=VARCHAR},
|
|
|
|
+ valueunit = #{record.valueunit,jdbcType=VARCHAR},
|
|
|
|
+ englishname = #{record.englishname,jdbcType=VARCHAR},
|
|
|
|
+ typeid = #{record.typeid,jdbcType=VARCHAR},
|
|
|
|
+ modelid = #{record.modelid,jdbcType=VARCHAR},
|
|
|
|
+ maxval = #{record.maxval,jdbcType=NUMERIC},
|
|
|
|
+ minval = #{record.minval,jdbcType=NUMERIC},
|
|
|
|
+ reasonablemaxval = #{record.reasonablemaxval,jdbcType=NUMERIC},
|
|
|
|
+ reasonableminval = #{record.reasonableminval,jdbcType=NUMERIC},
|
|
|
|
+ windsubstationid = #{record.windsubstationid,jdbcType=VARCHAR},
|
|
|
|
+ uniformcode = #{record.uniformcode,jdbcType=VARCHAR},
|
|
|
|
+ shortid = #{record.shortid,jdbcType=VARCHAR},
|
|
|
|
+ longid = #{record.longid,jdbcType=VARCHAR},
|
|
|
|
+ windpowerstationid = #{record.windpowerstationid,jdbcType=VARCHAR},
|
|
|
|
+ realtimeid = #{record.realtimeid,jdbcType=VARCHAR}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -380,81 +394,85 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- update WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
|
|
+ update windsubstationtestingpointnew
|
|
<set>
|
|
<set>
|
|
<if test="code != null">
|
|
<if test="code != null">
|
|
- CODE = #{code,jdbcType=VARCHAR},
|
|
|
|
|
|
+ code = #{code,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="name != null">
|
|
<if test="name != null">
|
|
- NAME = #{name,jdbcType=VARCHAR},
|
|
|
|
|
|
+ name = #{name,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="model != null">
|
|
<if test="model != null">
|
|
- MODEL = #{model,jdbcType=VARCHAR},
|
|
|
|
|
|
+ model = #{model,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="valueunit != null">
|
|
<if test="valueunit != null">
|
|
- VALUEUNIT = #{valueunit,jdbcType=VARCHAR},
|
|
|
|
|
|
+ valueunit = #{valueunit,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="englishname != null">
|
|
<if test="englishname != null">
|
|
- ENGLISHNAME = #{englishname,jdbcType=VARCHAR},
|
|
|
|
|
|
+ englishname = #{englishname,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="typeid != null">
|
|
<if test="typeid != null">
|
|
- TYPEID = #{typeid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ typeid = #{typeid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="modelid != null">
|
|
<if test="modelid != null">
|
|
- MODELID = #{modelid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ modelid = #{modelid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="maxval != null">
|
|
<if test="maxval != null">
|
|
- MAXVAL = #{maxval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ maxval = #{maxval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="minval != null">
|
|
<if test="minval != null">
|
|
- MINVAL = #{minval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ minval = #{minval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="reasonablemaxval != null">
|
|
<if test="reasonablemaxval != null">
|
|
- REASONABLEMAXVAL = #{reasonablemaxval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ reasonablemaxval = #{reasonablemaxval,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="reasonableminval != null">
|
|
<if test="reasonableminval != null">
|
|
- REASONABLEMINVAL = #{reasonableminval,jdbcType=DECIMAL},
|
|
|
|
|
|
+ reasonableminval = #{reasonableminval,jdbcType=NUMERIC},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="windsubstationid != null">
|
|
|
|
+ windsubstationid = #{windsubstationid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="uniformcode != null">
|
|
<if test="uniformcode != null">
|
|
- UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
|
|
|
|
|
|
+ uniformcode = #{uniformcode,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="shortid != null">
|
|
<if test="shortid != null">
|
|
- SHORTID = #{shortid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ shortid = #{shortid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="longid != null">
|
|
<if test="longid != null">
|
|
- LONGID = #{longid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ longid = #{longid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="windsubstationid != null">
|
|
|
|
- WINDSUBSTATIONID = #{windsubstationid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ <if test="windpowerstationid != null">
|
|
|
|
+ windpowerstationid = #{windpowerstationid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="realtimeid != null">
|
|
<if test="realtimeid != null">
|
|
- REALTIMEID = #{realtimeid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ realtimeid = #{realtimeid,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
</set>
|
|
</set>
|
|
- where ID = #{id,jdbcType=VARCHAR}
|
|
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
<update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Windsubstationtestingpointnew">
|
|
<update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Windsubstationtestingpointnew">
|
|
<!--
|
|
<!--
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- update WINDSUBSTATIONTESTINGPOINTNEW
|
|
|
|
- set CODE = #{code,jdbcType=VARCHAR},
|
|
|
|
- NAME = #{name,jdbcType=VARCHAR},
|
|
|
|
- MODEL = #{model,jdbcType=VARCHAR},
|
|
|
|
- VALUEUNIT = #{valueunit,jdbcType=VARCHAR},
|
|
|
|
- ENGLISHNAME = #{englishname,jdbcType=VARCHAR},
|
|
|
|
- TYPEID = #{typeid,jdbcType=VARCHAR},
|
|
|
|
- MODELID = #{modelid,jdbcType=VARCHAR},
|
|
|
|
- MAXVAL = #{maxval,jdbcType=DECIMAL},
|
|
|
|
- MINVAL = #{minval,jdbcType=DECIMAL},
|
|
|
|
- REASONABLEMAXVAL = #{reasonablemaxval,jdbcType=DECIMAL},
|
|
|
|
- REASONABLEMINVAL = #{reasonableminval,jdbcType=DECIMAL},
|
|
|
|
- UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
|
|
|
|
- SHORTID = #{shortid,jdbcType=VARCHAR},
|
|
|
|
- LONGID = #{longid,jdbcType=VARCHAR},
|
|
|
|
- WINDSUBSTATIONID = #{windsubstationid,jdbcType=VARCHAR},
|
|
|
|
- REALTIMEID = #{realtimeid,jdbcType=VARCHAR}
|
|
|
|
- where ID = #{id,jdbcType=VARCHAR}
|
|
|
|
|
|
+ update windsubstationtestingpointnew
|
|
|
|
+ set code = #{code,jdbcType=VARCHAR},
|
|
|
|
+ name = #{name,jdbcType=VARCHAR},
|
|
|
|
+ model = #{model,jdbcType=VARCHAR},
|
|
|
|
+ valueunit = #{valueunit,jdbcType=VARCHAR},
|
|
|
|
+ englishname = #{englishname,jdbcType=VARCHAR},
|
|
|
|
+ typeid = #{typeid,jdbcType=VARCHAR},
|
|
|
|
+ modelid = #{modelid,jdbcType=VARCHAR},
|
|
|
|
+ maxval = #{maxval,jdbcType=NUMERIC},
|
|
|
|
+ minval = #{minval,jdbcType=NUMERIC},
|
|
|
|
+ reasonablemaxval = #{reasonablemaxval,jdbcType=NUMERIC},
|
|
|
|
+ reasonableminval = #{reasonableminval,jdbcType=NUMERIC},
|
|
|
|
+ windsubstationid = #{windsubstationid,jdbcType=VARCHAR},
|
|
|
|
+ uniformcode = #{uniformcode,jdbcType=VARCHAR},
|
|
|
|
+ shortid = #{shortid,jdbcType=VARCHAR},
|
|
|
|
+ longid = #{longid,jdbcType=VARCHAR},
|
|
|
|
+ windpowerstationid = #{windpowerstationid,jdbcType=VARCHAR},
|
|
|
|
+ realtimeid = #{realtimeid,jdbcType=VARCHAR}
|
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|