fix: 调整byte成int

dev
huangfeng 11 months ago
parent 0814ad87bf
commit 3ccee70910

@ -27,7 +27,7 @@ public class MntnStatus {
* *
* @mbg.generated * @mbg.generated
*/ */
private Byte inMaintain; private Integer inMaintain;
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
@ -35,7 +35,7 @@ public class MntnStatus {
* *
* @mbg.generated * @mbg.generated
*/ */
private Byte quickHb; private Integer quickHb;
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
@ -122,7 +122,7 @@ public class MntnStatus {
* @return the value of mntn_status.in_maintain * @return the value of mntn_status.in_maintain
* @mbg.generated * @mbg.generated
*/ */
public Byte getInMaintain() { public Integer getInMaintain() {
return inMaintain; return inMaintain;
} }
@ -133,7 +133,7 @@ public class MntnStatus {
* @param inMaintain the value for mntn_status.in_maintain * @param inMaintain the value for mntn_status.in_maintain
* @mbg.generated * @mbg.generated
*/ */
public void setInMaintain(Byte inMaintain) { public void setInMaintain(Integer inMaintain) {
this.inMaintain = inMaintain; this.inMaintain = inMaintain;
} }
@ -144,7 +144,7 @@ public class MntnStatus {
* @return the value of mntn_status.quick_hb * @return the value of mntn_status.quick_hb
* @mbg.generated * @mbg.generated
*/ */
public Byte getQuickHb() { public Integer getQuickHb() {
return quickHb; return quickHb;
} }
@ -155,7 +155,7 @@ public class MntnStatus {
* @param quickHb the value for mntn_status.quick_hb * @param quickHb the value for mntn_status.quick_hb
* @mbg.generated * @mbg.generated
*/ */
public void setQuickHb(Byte quickHb) { public void setQuickHb(Integer quickHb) {
this.quickHb = quickHb; this.quickHb = quickHb;
} }

@ -265,52 +265,52 @@ public class MntnStatusExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainEqualTo(Byte value) { public Criteria andInMaintainEqualTo(Integer value) {
addCriterion("in_maintain =", value, "inMaintain"); addCriterion("in_maintain =", value, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainNotEqualTo(Byte value) { public Criteria andInMaintainNotEqualTo(Integer value) {
addCriterion("in_maintain <>", value, "inMaintain"); addCriterion("in_maintain <>", value, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainGreaterThan(Byte value) { public Criteria andInMaintainGreaterThan(Integer value) {
addCriterion("in_maintain >", value, "inMaintain"); addCriterion("in_maintain >", value, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainGreaterThanOrEqualTo(Byte value) { public Criteria andInMaintainGreaterThanOrEqualTo(Integer value) {
addCriterion("in_maintain >=", value, "inMaintain"); addCriterion("in_maintain >=", value, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainLessThan(Byte value) { public Criteria andInMaintainLessThan(Integer value) {
addCriterion("in_maintain <", value, "inMaintain"); addCriterion("in_maintain <", value, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainLessThanOrEqualTo(Byte value) { public Criteria andInMaintainLessThanOrEqualTo(Integer value) {
addCriterion("in_maintain <=", value, "inMaintain"); addCriterion("in_maintain <=", value, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainIn(List<Byte> values) { public Criteria andInMaintainIn(List<Integer> values) {
addCriterion("in_maintain in", values, "inMaintain"); addCriterion("in_maintain in", values, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainNotIn(List<Byte> values) { public Criteria andInMaintainNotIn(List<Integer> values) {
addCriterion("in_maintain not in", values, "inMaintain"); addCriterion("in_maintain not in", values, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainBetween(Byte value1, Byte value2) { public Criteria andInMaintainBetween(Integer value1, Integer value2) {
addCriterion("in_maintain between", value1, value2, "inMaintain"); addCriterion("in_maintain between", value1, value2, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInMaintainNotBetween(Byte value1, Byte value2) { public Criteria andInMaintainNotBetween(Integer value1, Integer value2) {
addCriterion("in_maintain not between", value1, value2, "inMaintain"); addCriterion("in_maintain not between", value1, value2, "inMaintain");
return (Criteria) this; return (Criteria) this;
} }
@ -325,52 +325,52 @@ public class MntnStatusExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbEqualTo(Byte value) { public Criteria andQuickHbEqualTo(Integer value) {
addCriterion("quick_hb =", value, "quickHb"); addCriterion("quick_hb =", value, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbNotEqualTo(Byte value) { public Criteria andQuickHbNotEqualTo(Integer value) {
addCriterion("quick_hb <>", value, "quickHb"); addCriterion("quick_hb <>", value, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbGreaterThan(Byte value) { public Criteria andQuickHbGreaterThan(Integer value) {
addCriterion("quick_hb >", value, "quickHb"); addCriterion("quick_hb >", value, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbGreaterThanOrEqualTo(Byte value) { public Criteria andQuickHbGreaterThanOrEqualTo(Integer value) {
addCriterion("quick_hb >=", value, "quickHb"); addCriterion("quick_hb >=", value, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbLessThan(Byte value) { public Criteria andQuickHbLessThan(Integer value) {
addCriterion("quick_hb <", value, "quickHb"); addCriterion("quick_hb <", value, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbLessThanOrEqualTo(Byte value) { public Criteria andQuickHbLessThanOrEqualTo(Integer value) {
addCriterion("quick_hb <=", value, "quickHb"); addCriterion("quick_hb <=", value, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbIn(List<Byte> values) { public Criteria andQuickHbIn(List<Integer> values) {
addCriterion("quick_hb in", values, "quickHb"); addCriterion("quick_hb in", values, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbNotIn(List<Byte> values) { public Criteria andQuickHbNotIn(List<Integer> values) {
addCriterion("quick_hb not in", values, "quickHb"); addCriterion("quick_hb not in", values, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbBetween(Byte value1, Byte value2) { public Criteria andQuickHbBetween(Integer value1, Integer value2) {
addCriterion("quick_hb between", value1, value2, "quickHb"); addCriterion("quick_hb between", value1, value2, "quickHb");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andQuickHbNotBetween(Byte value1, Byte value2) { public Criteria andQuickHbNotBetween(Integer value1, Integer value2) {
addCriterion("quick_hb not between", value1, value2, "quickHb"); addCriterion("quick_hb not between", value1, value2, "quickHb");
return (Criteria) this; return (Criteria) this;
} }

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

Loading…
Cancel
Save