|
|
|
@ -7,8 +7,8 @@
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
-->
|
|
|
|
|
<id column="term_id" jdbcType="INTEGER" property="termId" />
|
|
|
|
|
<result column="in_maintain" jdbcType="TINYINT" property="inMaintain" />
|
|
|
|
|
<result column="quick_hb" jdbcType="TINYINT" property="quickHb" />
|
|
|
|
|
<result column="in_maintain" jdbcType="INTEGER" property="inMaintain" />
|
|
|
|
|
<result column="quick_hb" jdbcType="INTEGER" property="quickHb" />
|
|
|
|
|
<result column="mode_time" jdbcType="BIGINT" property="modeTime" />
|
|
|
|
|
<result column="last_ip" jdbcType="VARCHAR" property="lastIp" />
|
|
|
|
|
<result column="raw_report_time" jdbcType="BIGINT" property="rawReportTime" />
|
|
|
|
@ -181,7 +181,7 @@
|
|
|
|
|
mode_time, last_ip, raw_report_time,
|
|
|
|
|
`comment`, create_time, update_time,
|
|
|
|
|
last_raw_report)
|
|
|
|
|
values (#{termId,jdbcType=INTEGER}, #{inMaintain,jdbcType=TINYINT}, #{quickHb,jdbcType=TINYINT},
|
|
|
|
|
values (#{termId,jdbcType=INTEGER}, #{inMaintain,jdbcType=INTEGER}, #{quickHb,jdbcType=INTEGER},
|
|
|
|
|
#{modeTime,jdbcType=BIGINT}, #{lastIp,jdbcType=VARCHAR}, #{rawReportTime,jdbcType=BIGINT},
|
|
|
|
|
#{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
#{lastRawReport,jdbcType=LONGVARCHAR})
|
|
|
|
@ -229,10 +229,10 @@
|
|
|
|
|
#{termId,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="inMaintain != null">
|
|
|
|
|
#{inMaintain,jdbcType=TINYINT},
|
|
|
|
|
#{inMaintain,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="quickHb != null">
|
|
|
|
|
#{quickHb,jdbcType=TINYINT},
|
|
|
|
|
#{quickHb,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="modeTime != null">
|
|
|
|
|
#{modeTime,jdbcType=BIGINT},
|
|
|
|
@ -278,10 +278,10 @@
|
|
|
|
|
term_id = #{row.termId,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.inMaintain != null">
|
|
|
|
|
in_maintain = #{row.inMaintain,jdbcType=TINYINT},
|
|
|
|
|
in_maintain = #{row.inMaintain,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.quickHb != null">
|
|
|
|
|
quick_hb = #{row.quickHb,jdbcType=TINYINT},
|
|
|
|
|
quick_hb = #{row.quickHb,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="row.modeTime != null">
|
|
|
|
|
mode_time = #{row.modeTime,jdbcType=BIGINT},
|
|
|
|
@ -316,8 +316,8 @@
|
|
|
|
|
-->
|
|
|
|
|
update mntn_status
|
|
|
|
|
set term_id = #{row.termId,jdbcType=INTEGER},
|
|
|
|
|
in_maintain = #{row.inMaintain,jdbcType=TINYINT},
|
|
|
|
|
quick_hb = #{row.quickHb,jdbcType=TINYINT},
|
|
|
|
|
in_maintain = #{row.inMaintain,jdbcType=INTEGER},
|
|
|
|
|
quick_hb = #{row.quickHb,jdbcType=INTEGER},
|
|
|
|
|
mode_time = #{row.modeTime,jdbcType=BIGINT},
|
|
|
|
|
last_ip = #{row.lastIp,jdbcType=VARCHAR},
|
|
|
|
|
raw_report_time = #{row.rawReportTime,jdbcType=BIGINT},
|
|
|
|
@ -336,8 +336,8 @@
|
|
|
|
|
-->
|
|
|
|
|
update mntn_status
|
|
|
|
|
set term_id = #{row.termId,jdbcType=INTEGER},
|
|
|
|
|
in_maintain = #{row.inMaintain,jdbcType=TINYINT},
|
|
|
|
|
quick_hb = #{row.quickHb,jdbcType=TINYINT},
|
|
|
|
|
in_maintain = #{row.inMaintain,jdbcType=INTEGER},
|
|
|
|
|
quick_hb = #{row.quickHb,jdbcType=INTEGER},
|
|
|
|
|
mode_time = #{row.modeTime,jdbcType=BIGINT},
|
|
|
|
|
last_ip = #{row.lastIp,jdbcType=VARCHAR},
|
|
|
|
|
raw_report_time = #{row.rawReportTime,jdbcType=BIGINT},
|
|
|
|
@ -356,10 +356,10 @@
|
|
|
|
|
update mntn_status
|
|
|
|
|
<set>
|
|
|
|
|
<if test="inMaintain != null">
|
|
|
|
|
in_maintain = #{inMaintain,jdbcType=TINYINT},
|
|
|
|
|
in_maintain = #{inMaintain,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="quickHb != null">
|
|
|
|
|
quick_hb = #{quickHb,jdbcType=TINYINT},
|
|
|
|
|
quick_hb = #{quickHb,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="modeTime != null">
|
|
|
|
|
mode_time = #{modeTime,jdbcType=BIGINT},
|
|
|
|
@ -391,8 +391,8 @@
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
-->
|
|
|
|
|
update mntn_status
|
|
|
|
|
set in_maintain = #{inMaintain,jdbcType=TINYINT},
|
|
|
|
|
quick_hb = #{quickHb,jdbcType=TINYINT},
|
|
|
|
|
set in_maintain = #{inMaintain,jdbcType=INTEGER},
|
|
|
|
|
quick_hb = #{quickHb,jdbcType=INTEGER},
|
|
|
|
|
mode_time = #{modeTime,jdbcType=BIGINT},
|
|
|
|
|
last_ip = #{lastIp,jdbcType=VARCHAR},
|
|
|
|
|
raw_report_time = #{rawReportTime,jdbcType=BIGINT},
|
|
|
|
@ -408,8 +408,8 @@
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
-->
|
|
|
|
|
update mntn_status
|
|
|
|
|
set in_maintain = #{inMaintain,jdbcType=TINYINT},
|
|
|
|
|
quick_hb = #{quickHb,jdbcType=TINYINT},
|
|
|
|
|
set in_maintain = #{inMaintain,jdbcType=INTEGER},
|
|
|
|
|
quick_hb = #{quickHb,jdbcType=INTEGER},
|
|
|
|
|
mode_time = #{modeTime,jdbcType=BIGINT},
|
|
|
|
|
last_ip = #{lastIp,jdbcType=VARCHAR},
|
|
|
|
|
raw_report_time = #{rawReportTime,jdbcType=BIGINT},
|
|
|
|
|