|
@@ -12,7 +12,7 @@
|
|
<result column="outageHours" jdbcType="DOUBLE" property="outagehours" />
|
|
<result column="outageHours" jdbcType="DOUBLE" property="outagehours" />
|
|
<result column="year" jdbcType="VARCHAR" property="year" />
|
|
<result column="year" jdbcType="VARCHAR" property="year" />
|
|
<result column="month" jdbcType="VARCHAR" property="month" />
|
|
<result column="month" jdbcType="VARCHAR" property="month" />
|
|
- <result column="windpowerId" jdbcType="VARCHAR" property="windpowerid" />
|
|
|
|
|
|
+ <result column="windpower" jdbcType="VARCHAR" property="windpower" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<!--
|
|
<!--
|
|
@@ -85,7 +85,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.
|
|
-->
|
|
-->
|
|
- id, projectId, generatingCapacity, outageHours, year, month, windpowerId
|
|
|
|
|
|
+ id, projectId, generatingCapacity, outageHours, year, month, windpower
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.gyee.frame.model.auto.ProjectplanExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.gyee.frame.model.auto.ProjectplanExample" resultMap="BaseResultMap">
|
|
<!--
|
|
<!--
|
|
@@ -140,10 +140,10 @@
|
|
-->
|
|
-->
|
|
insert into projectplan (id, projectId, generatingCapacity,
|
|
insert into projectplan (id, projectId, generatingCapacity,
|
|
outageHours, year, month,
|
|
outageHours, year, month,
|
|
- windpowerId)
|
|
|
|
|
|
+ windpower)
|
|
values (#{id,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{generatingcapacity,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{generatingcapacity,jdbcType=VARCHAR},
|
|
#{outagehours,jdbcType=DOUBLE}, #{year,jdbcType=VARCHAR}, #{month,jdbcType=VARCHAR},
|
|
#{outagehours,jdbcType=DOUBLE}, #{year,jdbcType=VARCHAR}, #{month,jdbcType=VARCHAR},
|
|
- #{windpowerid,jdbcType=VARCHAR})
|
|
|
|
|
|
+ #{windpower,jdbcType=VARCHAR})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Projectplan">
|
|
<insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Projectplan">
|
|
<!--
|
|
<!--
|
|
@@ -170,8 +170,8 @@
|
|
<if test="month != null">
|
|
<if test="month != null">
|
|
month,
|
|
month,
|
|
</if>
|
|
</if>
|
|
- <if test="windpowerid != null">
|
|
|
|
- windpowerId,
|
|
|
|
|
|
+ <if test="windpower != null">
|
|
|
|
+ windpower,
|
|
</if>
|
|
</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -193,8 +193,8 @@
|
|
<if test="month != null">
|
|
<if test="month != null">
|
|
#{month,jdbcType=VARCHAR},
|
|
#{month,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="windpowerid != null">
|
|
|
|
- #{windpowerid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ <if test="windpower != null">
|
|
|
|
+ #{windpower,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
@@ -233,8 +233,8 @@
|
|
<if test="record.month != null">
|
|
<if test="record.month != null">
|
|
month = #{record.month,jdbcType=VARCHAR},
|
|
month = #{record.month,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="record.windpowerid != null">
|
|
|
|
- windpowerId = #{record.windpowerid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ <if test="record.windpower != null">
|
|
|
|
+ windpower = #{record.windpower,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
</set>
|
|
</set>
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
@@ -253,7 +253,7 @@
|
|
outageHours = #{record.outagehours,jdbcType=DOUBLE},
|
|
outageHours = #{record.outagehours,jdbcType=DOUBLE},
|
|
year = #{record.year,jdbcType=VARCHAR},
|
|
year = #{record.year,jdbcType=VARCHAR},
|
|
month = #{record.month,jdbcType=VARCHAR},
|
|
month = #{record.month,jdbcType=VARCHAR},
|
|
- windpowerId = #{record.windpowerid,jdbcType=VARCHAR}
|
|
|
|
|
|
+ windpower = #{record.windpower,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>
|
|
@@ -280,8 +280,8 @@
|
|
<if test="month != null">
|
|
<if test="month != null">
|
|
month = #{month,jdbcType=VARCHAR},
|
|
month = #{month,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="windpowerid != null">
|
|
|
|
- windpowerId = #{windpowerid,jdbcType=VARCHAR},
|
|
|
|
|
|
+ <if test="windpower != null">
|
|
|
|
+ windpower = #{windpower,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
</set>
|
|
</set>
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
@@ -297,7 +297,7 @@
|
|
outageHours = #{outagehours,jdbcType=DOUBLE},
|
|
outageHours = #{outagehours,jdbcType=DOUBLE},
|
|
year = #{year,jdbcType=VARCHAR},
|
|
year = #{year,jdbcType=VARCHAR},
|
|
month = #{month,jdbcType=VARCHAR},
|
|
month = #{month,jdbcType=VARCHAR},
|
|
- windpowerId = #{windpowerid,jdbcType=VARCHAR}
|
|
|
|
|
|
+ windpower = #{windpower,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|