|
@@ -0,0 +1,637 @@
|
|
|
+<?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.StatetransitionratesMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Statetransitionrates">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <id column="ID" jdbcType="INTEGER" property="id" />
|
|
|
+ <result column="windpwoerId" jdbcType="VARCHAR" property="windpwoerid" />
|
|
|
+ <result column="projectId" jdbcType="VARCHAR" property="projectid" />
|
|
|
+ <result column="lineId" jdbcType="VARCHAR" property="lineid" />
|
|
|
+ <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
|
|
|
+ <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
|
|
|
+ <result column="timerate1" jdbcType="DECIMAL" property="timerate1" />
|
|
|
+ <result column="timerate2" jdbcType="DECIMAL" property="timerate2" />
|
|
|
+ <result column="timerate3" jdbcType="DECIMAL" property="timerate3" />
|
|
|
+ <result column="timerate4" jdbcType="DECIMAL" property="timerate4" />
|
|
|
+ <result column="timerate5" jdbcType="DECIMAL" property="timerate5" />
|
|
|
+ <result column="timerate6" jdbcType="DECIMAL" property="timerate6" />
|
|
|
+ <result column="timerate7" jdbcType="DECIMAL" property="timerate7" />
|
|
|
+ <result column="timerate8" jdbcType="DECIMAL" property="timerate8" />
|
|
|
+ <result column="timerate9" jdbcType="DECIMAL" property="timerate9" />
|
|
|
+ <result column="timerate10" jdbcType="DECIMAL" property="timerate10" />
|
|
|
+ <result column="timerate11" jdbcType="DECIMAL" property="timerate11" />
|
|
|
+ <result column="timerate12" jdbcType="DECIMAL" property="timerate12" />
|
|
|
+ <result column="timerate13" jdbcType="DECIMAL" property="timerate13" />
|
|
|
+ <result column="timerate14" jdbcType="DECIMAL" property="timerate14" />
|
|
|
+ <result column="timerate15" jdbcType="DECIMAL" property="timerate15" />
|
|
|
+ <result column="timerate16" jdbcType="DECIMAL" property="timerate16" />
|
|
|
+ <result column="timerate17" jdbcType="DECIMAL" property="timerate17" />
|
|
|
+ <result column="timerate18" jdbcType="DECIMAL" property="timerate18" />
|
|
|
+ <result column="timerate19" jdbcType="DECIMAL" property="timerate19" />
|
|
|
+ <result column="timerate20" jdbcType="DECIMAL" property="timerate20" />
|
|
|
+ <result column="timerate21" jdbcType="DECIMAL" property="timerate21" />
|
|
|
+ <result column="timerate22" jdbcType="DECIMAL" property="timerate22" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <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.
|
|
|
+ -->
|
|
|
+ <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.
|
|
|
+ -->
|
|
|
+ ID, windpwoerId, projectId, lineId, windturbineId, recordDate, timerate1, timerate2,
|
|
|
+ timerate3, timerate4, timerate5, timerate6, timerate7, timerate8, timerate9, timerate10,
|
|
|
+ timerate11, timerate12, timerate13, timerate14, timerate15, timerate16, timerate17,
|
|
|
+ timerate18, timerate19, timerate20, timerate21, timerate22
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.gyee.frame.model.auto.StatetransitionratesExample" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from statetransitionrates
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from statetransitionrates
|
|
|
+ where ID = #{id,jdbcType=INTEGER}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from statetransitionrates
|
|
|
+ where ID = #{id,jdbcType=INTEGER}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.StatetransitionratesExample">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from statetransitionrates
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into statetransitionrates (ID, windpwoerId, projectId,
|
|
|
+ lineId, windturbineId, recordDate,
|
|
|
+ timerate1, timerate2, timerate3,
|
|
|
+ timerate4, timerate5, timerate6,
|
|
|
+ timerate7, timerate8, timerate9,
|
|
|
+ timerate10, timerate11, timerate12,
|
|
|
+ timerate13, timerate14, timerate15,
|
|
|
+ timerate16, timerate17, timerate18,
|
|
|
+ timerate19, timerate20, timerate21,
|
|
|
+ timerate22)
|
|
|
+ values (#{id,jdbcType=INTEGER}, #{windpwoerid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR},
|
|
|
+ #{lineid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{recorddate,jdbcType=TIMESTAMP},
|
|
|
+ #{timerate1,jdbcType=DECIMAL}, #{timerate2,jdbcType=DECIMAL}, #{timerate3,jdbcType=DECIMAL},
|
|
|
+ #{timerate4,jdbcType=DECIMAL}, #{timerate5,jdbcType=DECIMAL}, #{timerate6,jdbcType=DECIMAL},
|
|
|
+ #{timerate7,jdbcType=DECIMAL}, #{timerate8,jdbcType=DECIMAL}, #{timerate9,jdbcType=DECIMAL},
|
|
|
+ #{timerate10,jdbcType=DECIMAL}, #{timerate11,jdbcType=DECIMAL}, #{timerate12,jdbcType=DECIMAL},
|
|
|
+ #{timerate13,jdbcType=DECIMAL}, #{timerate14,jdbcType=DECIMAL}, #{timerate15,jdbcType=DECIMAL},
|
|
|
+ #{timerate16,jdbcType=DECIMAL}, #{timerate17,jdbcType=DECIMAL}, #{timerate18,jdbcType=DECIMAL},
|
|
|
+ #{timerate19,jdbcType=DECIMAL}, #{timerate20,jdbcType=DECIMAL}, #{timerate21,jdbcType=DECIMAL},
|
|
|
+ #{timerate22,jdbcType=DECIMAL})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into statetransitionrates
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ ID,
|
|
|
+ </if>
|
|
|
+ <if test="windpwoerid != null">
|
|
|
+ windpwoerId,
|
|
|
+ </if>
|
|
|
+ <if test="projectid != null">
|
|
|
+ projectId,
|
|
|
+ </if>
|
|
|
+ <if test="lineid != null">
|
|
|
+ lineId,
|
|
|
+ </if>
|
|
|
+ <if test="windturbineid != null">
|
|
|
+ windturbineId,
|
|
|
+ </if>
|
|
|
+ <if test="recorddate != null">
|
|
|
+ recordDate,
|
|
|
+ </if>
|
|
|
+ <if test="timerate1 != null">
|
|
|
+ timerate1,
|
|
|
+ </if>
|
|
|
+ <if test="timerate2 != null">
|
|
|
+ timerate2,
|
|
|
+ </if>
|
|
|
+ <if test="timerate3 != null">
|
|
|
+ timerate3,
|
|
|
+ </if>
|
|
|
+ <if test="timerate4 != null">
|
|
|
+ timerate4,
|
|
|
+ </if>
|
|
|
+ <if test="timerate5 != null">
|
|
|
+ timerate5,
|
|
|
+ </if>
|
|
|
+ <if test="timerate6 != null">
|
|
|
+ timerate6,
|
|
|
+ </if>
|
|
|
+ <if test="timerate7 != null">
|
|
|
+ timerate7,
|
|
|
+ </if>
|
|
|
+ <if test="timerate8 != null">
|
|
|
+ timerate8,
|
|
|
+ </if>
|
|
|
+ <if test="timerate9 != null">
|
|
|
+ timerate9,
|
|
|
+ </if>
|
|
|
+ <if test="timerate10 != null">
|
|
|
+ timerate10,
|
|
|
+ </if>
|
|
|
+ <if test="timerate11 != null">
|
|
|
+ timerate11,
|
|
|
+ </if>
|
|
|
+ <if test="timerate12 != null">
|
|
|
+ timerate12,
|
|
|
+ </if>
|
|
|
+ <if test="timerate13 != null">
|
|
|
+ timerate13,
|
|
|
+ </if>
|
|
|
+ <if test="timerate14 != null">
|
|
|
+ timerate14,
|
|
|
+ </if>
|
|
|
+ <if test="timerate15 != null">
|
|
|
+ timerate15,
|
|
|
+ </if>
|
|
|
+ <if test="timerate16 != null">
|
|
|
+ timerate16,
|
|
|
+ </if>
|
|
|
+ <if test="timerate17 != null">
|
|
|
+ timerate17,
|
|
|
+ </if>
|
|
|
+ <if test="timerate18 != null">
|
|
|
+ timerate18,
|
|
|
+ </if>
|
|
|
+ <if test="timerate19 != null">
|
|
|
+ timerate19,
|
|
|
+ </if>
|
|
|
+ <if test="timerate20 != null">
|
|
|
+ timerate20,
|
|
|
+ </if>
|
|
|
+ <if test="timerate21 != null">
|
|
|
+ timerate21,
|
|
|
+ </if>
|
|
|
+ <if test="timerate22 != null">
|
|
|
+ timerate22,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="windpwoerid != null">
|
|
|
+ #{windpwoerid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="projectid != null">
|
|
|
+ #{projectid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="lineid != null">
|
|
|
+ #{lineid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="windturbineid != null">
|
|
|
+ #{windturbineid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="recorddate != null">
|
|
|
+ #{recorddate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="timerate1 != null">
|
|
|
+ #{timerate1,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate2 != null">
|
|
|
+ #{timerate2,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate3 != null">
|
|
|
+ #{timerate3,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate4 != null">
|
|
|
+ #{timerate4,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate5 != null">
|
|
|
+ #{timerate5,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate6 != null">
|
|
|
+ #{timerate6,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate7 != null">
|
|
|
+ #{timerate7,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate8 != null">
|
|
|
+ #{timerate8,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate9 != null">
|
|
|
+ #{timerate9,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate10 != null">
|
|
|
+ #{timerate10,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate11 != null">
|
|
|
+ #{timerate11,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate12 != null">
|
|
|
+ #{timerate12,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate13 != null">
|
|
|
+ #{timerate13,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate14 != null">
|
|
|
+ #{timerate14,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate15 != null">
|
|
|
+ #{timerate15,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate16 != null">
|
|
|
+ #{timerate16,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate17 != null">
|
|
|
+ #{timerate17,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate18 != null">
|
|
|
+ #{timerate18,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate19 != null">
|
|
|
+ #{timerate19,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate20 != null">
|
|
|
+ #{timerate20,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate21 != null">
|
|
|
+ #{timerate21,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate22 != null">
|
|
|
+ #{timerate22,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.gyee.frame.model.auto.StatetransitionratesExample" resultType="java.lang.Long">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select count(*) from statetransitionrates
|
|
|
+ <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.
|
|
|
+ -->
|
|
|
+ update statetransitionrates
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ ID = #{record.id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.windpwoerid != null">
|
|
|
+ windpwoerId = #{record.windpwoerid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.projectid != null">
|
|
|
+ projectId = #{record.projectid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.lineid != null">
|
|
|
+ lineId = #{record.lineid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.windturbineid != null">
|
|
|
+ windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.recorddate != null">
|
|
|
+ recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate1 != null">
|
|
|
+ timerate1 = #{record.timerate1,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate2 != null">
|
|
|
+ timerate2 = #{record.timerate2,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate3 != null">
|
|
|
+ timerate3 = #{record.timerate3,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate4 != null">
|
|
|
+ timerate4 = #{record.timerate4,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate5 != null">
|
|
|
+ timerate5 = #{record.timerate5,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate6 != null">
|
|
|
+ timerate6 = #{record.timerate6,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate7 != null">
|
|
|
+ timerate7 = #{record.timerate7,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate8 != null">
|
|
|
+ timerate8 = #{record.timerate8,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate9 != null">
|
|
|
+ timerate9 = #{record.timerate9,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate10 != null">
|
|
|
+ timerate10 = #{record.timerate10,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate11 != null">
|
|
|
+ timerate11 = #{record.timerate11,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate12 != null">
|
|
|
+ timerate12 = #{record.timerate12,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate13 != null">
|
|
|
+ timerate13 = #{record.timerate13,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate14 != null">
|
|
|
+ timerate14 = #{record.timerate14,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate15 != null">
|
|
|
+ timerate15 = #{record.timerate15,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate16 != null">
|
|
|
+ timerate16 = #{record.timerate16,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate17 != null">
|
|
|
+ timerate17 = #{record.timerate17,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate18 != null">
|
|
|
+ timerate18 = #{record.timerate18,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate19 != null">
|
|
|
+ timerate19 = #{record.timerate19,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate20 != null">
|
|
|
+ timerate20 = #{record.timerate20,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate21 != null">
|
|
|
+ timerate21 = #{record.timerate21,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.timerate22 != null">
|
|
|
+ timerate22 = #{record.timerate22,jdbcType=DECIMAL},
|
|
|
+ </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.
|
|
|
+ -->
|
|
|
+ update statetransitionrates
|
|
|
+ set ID = #{record.id,jdbcType=INTEGER},
|
|
|
+ windpwoerId = #{record.windpwoerid,jdbcType=VARCHAR},
|
|
|
+ projectId = #{record.projectid,jdbcType=VARCHAR},
|
|
|
+ lineId = #{record.lineid,jdbcType=VARCHAR},
|
|
|
+ windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
|
|
|
+ recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
|
|
|
+ timerate1 = #{record.timerate1,jdbcType=DECIMAL},
|
|
|
+ timerate2 = #{record.timerate2,jdbcType=DECIMAL},
|
|
|
+ timerate3 = #{record.timerate3,jdbcType=DECIMAL},
|
|
|
+ timerate4 = #{record.timerate4,jdbcType=DECIMAL},
|
|
|
+ timerate5 = #{record.timerate5,jdbcType=DECIMAL},
|
|
|
+ timerate6 = #{record.timerate6,jdbcType=DECIMAL},
|
|
|
+ timerate7 = #{record.timerate7,jdbcType=DECIMAL},
|
|
|
+ timerate8 = #{record.timerate8,jdbcType=DECIMAL},
|
|
|
+ timerate9 = #{record.timerate9,jdbcType=DECIMAL},
|
|
|
+ timerate10 = #{record.timerate10,jdbcType=DECIMAL},
|
|
|
+ timerate11 = #{record.timerate11,jdbcType=DECIMAL},
|
|
|
+ timerate12 = #{record.timerate12,jdbcType=DECIMAL},
|
|
|
+ timerate13 = #{record.timerate13,jdbcType=DECIMAL},
|
|
|
+ timerate14 = #{record.timerate14,jdbcType=DECIMAL},
|
|
|
+ timerate15 = #{record.timerate15,jdbcType=DECIMAL},
|
|
|
+ timerate16 = #{record.timerate16,jdbcType=DECIMAL},
|
|
|
+ timerate17 = #{record.timerate17,jdbcType=DECIMAL},
|
|
|
+ timerate18 = #{record.timerate18,jdbcType=DECIMAL},
|
|
|
+ timerate19 = #{record.timerate19,jdbcType=DECIMAL},
|
|
|
+ timerate20 = #{record.timerate20,jdbcType=DECIMAL},
|
|
|
+ timerate21 = #{record.timerate21,jdbcType=DECIMAL},
|
|
|
+ timerate22 = #{record.timerate22,jdbcType=DECIMAL}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update statetransitionrates
|
|
|
+ <set>
|
|
|
+ <if test="windpwoerid != null">
|
|
|
+ windpwoerId = #{windpwoerid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="projectid != null">
|
|
|
+ projectId = #{projectid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="lineid != null">
|
|
|
+ lineId = #{lineid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="windturbineid != null">
|
|
|
+ windturbineId = #{windturbineid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="recorddate != null">
|
|
|
+ recordDate = #{recorddate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="timerate1 != null">
|
|
|
+ timerate1 = #{timerate1,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate2 != null">
|
|
|
+ timerate2 = #{timerate2,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate3 != null">
|
|
|
+ timerate3 = #{timerate3,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate4 != null">
|
|
|
+ timerate4 = #{timerate4,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate5 != null">
|
|
|
+ timerate5 = #{timerate5,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate6 != null">
|
|
|
+ timerate6 = #{timerate6,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate7 != null">
|
|
|
+ timerate7 = #{timerate7,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate8 != null">
|
|
|
+ timerate8 = #{timerate8,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate9 != null">
|
|
|
+ timerate9 = #{timerate9,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate10 != null">
|
|
|
+ timerate10 = #{timerate10,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate11 != null">
|
|
|
+ timerate11 = #{timerate11,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate12 != null">
|
|
|
+ timerate12 = #{timerate12,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate13 != null">
|
|
|
+ timerate13 = #{timerate13,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate14 != null">
|
|
|
+ timerate14 = #{timerate14,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate15 != null">
|
|
|
+ timerate15 = #{timerate15,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate16 != null">
|
|
|
+ timerate16 = #{timerate16,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate17 != null">
|
|
|
+ timerate17 = #{timerate17,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate18 != null">
|
|
|
+ timerate18 = #{timerate18,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate19 != null">
|
|
|
+ timerate19 = #{timerate19,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate20 != null">
|
|
|
+ timerate20 = #{timerate20,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate21 != null">
|
|
|
+ timerate21 = #{timerate21,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="timerate22 != null">
|
|
|
+ timerate22 = #{timerate22,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where ID = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update statetransitionrates
|
|
|
+ set windpwoerId = #{windpwoerid,jdbcType=VARCHAR},
|
|
|
+ projectId = #{projectid,jdbcType=VARCHAR},
|
|
|
+ lineId = #{lineid,jdbcType=VARCHAR},
|
|
|
+ windturbineId = #{windturbineid,jdbcType=VARCHAR},
|
|
|
+ recordDate = #{recorddate,jdbcType=TIMESTAMP},
|
|
|
+ timerate1 = #{timerate1,jdbcType=DECIMAL},
|
|
|
+ timerate2 = #{timerate2,jdbcType=DECIMAL},
|
|
|
+ timerate3 = #{timerate3,jdbcType=DECIMAL},
|
|
|
+ timerate4 = #{timerate4,jdbcType=DECIMAL},
|
|
|
+ timerate5 = #{timerate5,jdbcType=DECIMAL},
|
|
|
+ timerate6 = #{timerate6,jdbcType=DECIMAL},
|
|
|
+ timerate7 = #{timerate7,jdbcType=DECIMAL},
|
|
|
+ timerate8 = #{timerate8,jdbcType=DECIMAL},
|
|
|
+ timerate9 = #{timerate9,jdbcType=DECIMAL},
|
|
|
+ timerate10 = #{timerate10,jdbcType=DECIMAL},
|
|
|
+ timerate11 = #{timerate11,jdbcType=DECIMAL},
|
|
|
+ timerate12 = #{timerate12,jdbcType=DECIMAL},
|
|
|
+ timerate13 = #{timerate13,jdbcType=DECIMAL},
|
|
|
+ timerate14 = #{timerate14,jdbcType=DECIMAL},
|
|
|
+ timerate15 = #{timerate15,jdbcType=DECIMAL},
|
|
|
+ timerate16 = #{timerate16,jdbcType=DECIMAL},
|
|
|
+ timerate17 = #{timerate17,jdbcType=DECIMAL},
|
|
|
+ timerate18 = #{timerate18,jdbcType=DECIMAL},
|
|
|
+ timerate19 = #{timerate19,jdbcType=DECIMAL},
|
|
|
+ timerate20 = #{timerate20,jdbcType=DECIMAL},
|
|
|
+ timerate21 = #{timerate21,jdbcType=DECIMAL},
|
|
|
+ timerate22 = #{timerate22,jdbcType=DECIMAL}
|
|
|
+ where ID = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+
|
|
|
+
|
|
|
+</mapper>
|