|
|
|
@ -9,17 +9,17 @@
|
|
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
|
|
<result column="term_id" jdbcType="INTEGER" property="termId" />
|
|
|
|
|
<result column="update_time" jdbcType="BIGINT" property="updateTime" />
|
|
|
|
|
<result column="func_code" jdbcType="SMALLINT" property="funcCode" />
|
|
|
|
|
<result column="maxpull_pull" jdbcType="SMALLINT" property="maxpullPull" />
|
|
|
|
|
<result column="func_code" jdbcType="INTEGER" property="funcCode" />
|
|
|
|
|
<result column="maxpull_pull" jdbcType="INTEGER" property="maxpullPull" />
|
|
|
|
|
<result column="maxpull_wind" jdbcType="REAL" property="maxpullWind" />
|
|
|
|
|
<result column="maxpull_tilt" jdbcType="REAL" property="maxpullTilt" />
|
|
|
|
|
<result column="minpull_pull" jdbcType="SMALLINT" property="minpullPull" />
|
|
|
|
|
<result column="minpull_pull" jdbcType="INTEGER" property="minpullPull" />
|
|
|
|
|
<result column="minpull_wind" jdbcType="REAL" property="minpullWind" />
|
|
|
|
|
<result column="minpull_tilt" jdbcType="REAL" property="minpullTilt" />
|
|
|
|
|
<result column="maxwind_pull" jdbcType="SMALLINT" property="maxwindPull" />
|
|
|
|
|
<result column="maxwind_pull" jdbcType="INTEGER" property="maxwindPull" />
|
|
|
|
|
<result column="maxwind_wind" jdbcType="REAL" property="maxwindWind" />
|
|
|
|
|
<result column="maxwind_tilt" jdbcType="REAL" property="maxwindTilt" />
|
|
|
|
|
<result column="minwind_pull" jdbcType="SMALLINT" property="minwindPull" />
|
|
|
|
|
<result column="minwind_pull" jdbcType="INTEGER" property="minwindPull" />
|
|
|
|
|
<result column="minwind_wind" jdbcType="REAL" property="minwindWind" />
|
|
|
|
|
<result column="minwind_tilt" jdbcType="REAL" property="minwindTilt" />
|
|
|
|
|
<result column="wid" jdbcType="BIGINT" property="wid" />
|
|
|
|
@ -162,11 +162,11 @@
|
|
|
|
|
minwind_pull, minwind_wind, minwind_tilt,
|
|
|
|
|
wid, wind_speed, create_time
|
|
|
|
|
)
|
|
|
|
|
values (#{termId,jdbcType=INTEGER}, #{updateTime,jdbcType=BIGINT}, #{funcCode,jdbcType=SMALLINT},
|
|
|
|
|
#{maxpullPull,jdbcType=SMALLINT}, #{maxpullWind,jdbcType=REAL}, #{maxpullTilt,jdbcType=REAL},
|
|
|
|
|
#{minpullPull,jdbcType=SMALLINT}, #{minpullWind,jdbcType=REAL}, #{minpullTilt,jdbcType=REAL},
|
|
|
|
|
#{maxwindPull,jdbcType=SMALLINT}, #{maxwindWind,jdbcType=REAL}, #{maxwindTilt,jdbcType=REAL},
|
|
|
|
|
#{minwindPull,jdbcType=SMALLINT}, #{minwindWind,jdbcType=REAL}, #{minwindTilt,jdbcType=REAL},
|
|
|
|
|
values (#{termId,jdbcType=INTEGER}, #{updateTime,jdbcType=BIGINT}, #{funcCode,jdbcType=INTEGER},
|
|
|
|
|
#{maxpullPull,jdbcType=INTEGER}, #{maxpullWind,jdbcType=REAL}, #{maxpullTilt,jdbcType=REAL},
|
|
|
|
|
#{minpullPull,jdbcType=INTEGER}, #{minpullWind,jdbcType=REAL}, #{minpullTilt,jdbcType=REAL},
|
|
|
|
|
#{maxwindPull,jdbcType=INTEGER}, #{maxwindWind,jdbcType=REAL}, #{maxwindTilt,jdbcType=REAL},
|
|
|
|
|
#{minwindPull,jdbcType=INTEGER}, #{minwindWind,jdbcType=REAL}, #{minwindTilt,jdbcType=REAL},
|
|
|
|
|
#{wid,jdbcType=BIGINT}, #{windSpeed,jdbcType=REAL}, #{createTime,jdbcType=TIMESTAMP}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
@ -243,10 +243,10 @@
|
|
|
|
|
#{updateTime,jdbcType=BIGINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="funcCode != null">
|
|
|
|
|
#{funcCode,jdbcType=SMALLINT},
|
|
|
|
|
#{funcCode,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxpullPull != null">
|
|
|
|
|
#{maxpullPull,jdbcType=SMALLINT},
|
|
|
|
|
#{maxpullPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxpullWind != null">
|
|
|
|
|
#{maxpullWind,jdbcType=REAL},
|
|
|
|
@ -255,7 +255,7 @@
|
|
|
|
|
#{maxpullTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minpullPull != null">
|
|
|
|
|
#{minpullPull,jdbcType=SMALLINT},
|
|
|
|
|
#{minpullPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minpullWind != null">
|
|
|
|
|
#{minpullWind,jdbcType=REAL},
|
|
|
|
@ -264,7 +264,7 @@
|
|
|
|
|
#{minpullTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxwindPull != null">
|
|
|
|
|
#{maxwindPull,jdbcType=SMALLINT},
|
|
|
|
|
#{maxwindPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxwindWind != null">
|
|
|
|
|
#{maxwindWind,jdbcType=REAL},
|
|
|
|
@ -273,7 +273,7 @@
|
|
|
|
|
#{maxwindTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minwindPull != null">
|
|
|
|
|
#{minwindPull,jdbcType=SMALLINT},
|
|
|
|
|
#{minwindPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minwindWind != null">
|
|
|
|
|
#{minwindWind,jdbcType=REAL},
|
|
|
|
@ -319,10 +319,10 @@
|
|
|
|
|
update_time = #{row.updateTime,jdbcType=BIGINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.funcCode != null">
|
|
|
|
|
func_code = #{row.funcCode,jdbcType=SMALLINT},
|
|
|
|
|
func_code = #{row.funcCode,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.maxpullPull != null">
|
|
|
|
|
maxpull_pull = #{row.maxpullPull,jdbcType=SMALLINT},
|
|
|
|
|
maxpull_pull = #{row.maxpullPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.maxpullWind != null">
|
|
|
|
|
maxpull_wind = #{row.maxpullWind,jdbcType=REAL},
|
|
|
|
@ -331,7 +331,7 @@
|
|
|
|
|
maxpull_tilt = #{row.maxpullTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.minpullPull != null">
|
|
|
|
|
minpull_pull = #{row.minpullPull,jdbcType=SMALLINT},
|
|
|
|
|
minpull_pull = #{row.minpullPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.minpullWind != null">
|
|
|
|
|
minpull_wind = #{row.minpullWind,jdbcType=REAL},
|
|
|
|
@ -340,7 +340,7 @@
|
|
|
|
|
minpull_tilt = #{row.minpullTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.maxwindPull != null">
|
|
|
|
|
maxwind_pull = #{row.maxwindPull,jdbcType=SMALLINT},
|
|
|
|
|
maxwind_pull = #{row.maxwindPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.maxwindWind != null">
|
|
|
|
|
maxwind_wind = #{row.maxwindWind,jdbcType=REAL},
|
|
|
|
@ -349,7 +349,7 @@
|
|
|
|
|
maxwind_tilt = #{row.maxwindTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.minwindPull != null">
|
|
|
|
|
minwind_pull = #{row.minwindPull,jdbcType=SMALLINT},
|
|
|
|
|
minwind_pull = #{row.minwindPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.minwindWind != null">
|
|
|
|
|
minwind_wind = #{row.minwindWind,jdbcType=REAL},
|
|
|
|
@ -380,17 +380,17 @@
|
|
|
|
|
set id = #{row.id,jdbcType=BIGINT},
|
|
|
|
|
term_id = #{row.termId,jdbcType=INTEGER},
|
|
|
|
|
update_time = #{row.updateTime,jdbcType=BIGINT},
|
|
|
|
|
func_code = #{row.funcCode,jdbcType=SMALLINT},
|
|
|
|
|
maxpull_pull = #{row.maxpullPull,jdbcType=SMALLINT},
|
|
|
|
|
func_code = #{row.funcCode,jdbcType=INTEGER},
|
|
|
|
|
maxpull_pull = #{row.maxpullPull,jdbcType=INTEGER},
|
|
|
|
|
maxpull_wind = #{row.maxpullWind,jdbcType=REAL},
|
|
|
|
|
maxpull_tilt = #{row.maxpullTilt,jdbcType=REAL},
|
|
|
|
|
minpull_pull = #{row.minpullPull,jdbcType=SMALLINT},
|
|
|
|
|
minpull_pull = #{row.minpullPull,jdbcType=INTEGER},
|
|
|
|
|
minpull_wind = #{row.minpullWind,jdbcType=REAL},
|
|
|
|
|
minpull_tilt = #{row.minpullTilt,jdbcType=REAL},
|
|
|
|
|
maxwind_pull = #{row.maxwindPull,jdbcType=SMALLINT},
|
|
|
|
|
maxwind_pull = #{row.maxwindPull,jdbcType=INTEGER},
|
|
|
|
|
maxwind_wind = #{row.maxwindWind,jdbcType=REAL},
|
|
|
|
|
maxwind_tilt = #{row.maxwindTilt,jdbcType=REAL},
|
|
|
|
|
minwind_pull = #{row.minwindPull,jdbcType=SMALLINT},
|
|
|
|
|
minwind_pull = #{row.minwindPull,jdbcType=INTEGER},
|
|
|
|
|
minwind_wind = #{row.minwindWind,jdbcType=REAL},
|
|
|
|
|
minwind_tilt = #{row.minwindTilt,jdbcType=REAL},
|
|
|
|
|
wid = #{row.wid,jdbcType=BIGINT},
|
|
|
|
@ -414,10 +414,10 @@
|
|
|
|
|
update_time = #{updateTime,jdbcType=BIGINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="funcCode != null">
|
|
|
|
|
func_code = #{funcCode,jdbcType=SMALLINT},
|
|
|
|
|
func_code = #{funcCode,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxpullPull != null">
|
|
|
|
|
maxpull_pull = #{maxpullPull,jdbcType=SMALLINT},
|
|
|
|
|
maxpull_pull = #{maxpullPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxpullWind != null">
|
|
|
|
|
maxpull_wind = #{maxpullWind,jdbcType=REAL},
|
|
|
|
@ -426,7 +426,7 @@
|
|
|
|
|
maxpull_tilt = #{maxpullTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minpullPull != null">
|
|
|
|
|
minpull_pull = #{minpullPull,jdbcType=SMALLINT},
|
|
|
|
|
minpull_pull = #{minpullPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minpullWind != null">
|
|
|
|
|
minpull_wind = #{minpullWind,jdbcType=REAL},
|
|
|
|
@ -435,7 +435,7 @@
|
|
|
|
|
minpull_tilt = #{minpullTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxwindPull != null">
|
|
|
|
|
maxwind_pull = #{maxwindPull,jdbcType=SMALLINT},
|
|
|
|
|
maxwind_pull = #{maxwindPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="maxwindWind != null">
|
|
|
|
|
maxwind_wind = #{maxwindWind,jdbcType=REAL},
|
|
|
|
@ -444,7 +444,7 @@
|
|
|
|
|
maxwind_tilt = #{maxwindTilt,jdbcType=REAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minwindPull != null">
|
|
|
|
|
minwind_pull = #{minwindPull,jdbcType=SMALLINT},
|
|
|
|
|
minwind_pull = #{minwindPull,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="minwindWind != null">
|
|
|
|
|
minwind_wind = #{minwindWind,jdbcType=REAL},
|
|
|
|
@ -472,17 +472,17 @@
|
|
|
|
|
update lead_pulls
|
|
|
|
|
set term_id = #{termId,jdbcType=INTEGER},
|
|
|
|
|
update_time = #{updateTime,jdbcType=BIGINT},
|
|
|
|
|
func_code = #{funcCode,jdbcType=SMALLINT},
|
|
|
|
|
maxpull_pull = #{maxpullPull,jdbcType=SMALLINT},
|
|
|
|
|
func_code = #{funcCode,jdbcType=INTEGER},
|
|
|
|
|
maxpull_pull = #{maxpullPull,jdbcType=INTEGER},
|
|
|
|
|
maxpull_wind = #{maxpullWind,jdbcType=REAL},
|
|
|
|
|
maxpull_tilt = #{maxpullTilt,jdbcType=REAL},
|
|
|
|
|
minpull_pull = #{minpullPull,jdbcType=SMALLINT},
|
|
|
|
|
minpull_pull = #{minpullPull,jdbcType=INTEGER},
|
|
|
|
|
minpull_wind = #{minpullWind,jdbcType=REAL},
|
|
|
|
|
minpull_tilt = #{minpullTilt,jdbcType=REAL},
|
|
|
|
|
maxwind_pull = #{maxwindPull,jdbcType=SMALLINT},
|
|
|
|
|
maxwind_pull = #{maxwindPull,jdbcType=INTEGER},
|
|
|
|
|
maxwind_wind = #{maxwindWind,jdbcType=REAL},
|
|
|
|
|
maxwind_tilt = #{maxwindTilt,jdbcType=REAL},
|
|
|
|
|
minwind_pull = #{minwindPull,jdbcType=SMALLINT},
|
|
|
|
|
minwind_pull = #{minwindPull,jdbcType=INTEGER},
|
|
|
|
|
minwind_wind = #{minwindWind,jdbcType=REAL},
|
|
|
|
|
minwind_tilt = #{minwindTilt,jdbcType=REAL},
|
|
|
|
|
wid = #{wid,jdbcType=BIGINT},
|
|
|
|
|