From 3ccee70910c071f41b2f36269460a4cdb7158bb5 Mon Sep 17 00:00:00 2001 From: huangfeng Date: Wed, 7 Aug 2024 11:57:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4byte=E6=88=90int?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xymanager_common/entity/MntnStatus.java | 12 +++--- .../entity/MntnStatusExample.java | 40 +++++++++---------- .../resources/mappers/MntnStatusMapper.xml | 34 ++++++++-------- 3 files changed, 43 insertions(+), 43 deletions(-) diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatus.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatus.java index 183e84e..2073a85 100644 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatus.java +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatus.java @@ -27,7 +27,7 @@ public class MntnStatus { * * @mbg.generated */ - private Byte inMaintain; + private Integer inMaintain; /** * This field was generated by MyBatis Generator. @@ -35,7 +35,7 @@ public class MntnStatus { * * @mbg.generated */ - private Byte quickHb; + private Integer quickHb; /** * This field was generated by MyBatis Generator. @@ -122,7 +122,7 @@ public class MntnStatus { * @return the value of mntn_status.in_maintain * @mbg.generated */ - public Byte getInMaintain() { + public Integer getInMaintain() { return inMaintain; } @@ -133,7 +133,7 @@ public class MntnStatus { * @param inMaintain the value for mntn_status.in_maintain * @mbg.generated */ - public void setInMaintain(Byte inMaintain) { + public void setInMaintain(Integer inMaintain) { this.inMaintain = inMaintain; } @@ -144,7 +144,7 @@ public class MntnStatus { * @return the value of mntn_status.quick_hb * @mbg.generated */ - public Byte getQuickHb() { + public Integer getQuickHb() { return quickHb; } @@ -155,7 +155,7 @@ public class MntnStatus { * @param quickHb the value for mntn_status.quick_hb * @mbg.generated */ - public void setQuickHb(Byte quickHb) { + public void setQuickHb(Integer quickHb) { this.quickHb = quickHb; } diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatusExample.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatusExample.java index 48c0d95..d3be399 100644 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatusExample.java +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnStatusExample.java @@ -265,52 +265,52 @@ public class MntnStatusExample { return (Criteria) this; } - public Criteria andInMaintainEqualTo(Byte value) { + public Criteria andInMaintainEqualTo(Integer value) { addCriterion("in_maintain =", value, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainNotEqualTo(Byte value) { + public Criteria andInMaintainNotEqualTo(Integer value) { addCriterion("in_maintain <>", value, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainGreaterThan(Byte value) { + public Criteria andInMaintainGreaterThan(Integer value) { addCriterion("in_maintain >", value, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainGreaterThanOrEqualTo(Byte value) { + public Criteria andInMaintainGreaterThanOrEqualTo(Integer value) { addCriterion("in_maintain >=", value, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainLessThan(Byte value) { + public Criteria andInMaintainLessThan(Integer value) { addCriterion("in_maintain <", value, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainLessThanOrEqualTo(Byte value) { + public Criteria andInMaintainLessThanOrEqualTo(Integer value) { addCriterion("in_maintain <=", value, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainIn(List values) { + public Criteria andInMaintainIn(List values) { addCriterion("in_maintain in", values, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainNotIn(List values) { + public Criteria andInMaintainNotIn(List values) { addCriterion("in_maintain not in", values, "inMaintain"); return (Criteria) this; } - public Criteria andInMaintainBetween(Byte value1, Byte value2) { + public Criteria andInMaintainBetween(Integer value1, Integer value2) { addCriterion("in_maintain between", value1, value2, "inMaintain"); 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"); return (Criteria) this; } @@ -325,52 +325,52 @@ public class MntnStatusExample { return (Criteria) this; } - public Criteria andQuickHbEqualTo(Byte value) { + public Criteria andQuickHbEqualTo(Integer value) { addCriterion("quick_hb =", value, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbNotEqualTo(Byte value) { + public Criteria andQuickHbNotEqualTo(Integer value) { addCriterion("quick_hb <>", value, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbGreaterThan(Byte value) { + public Criteria andQuickHbGreaterThan(Integer value) { addCriterion("quick_hb >", value, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbGreaterThanOrEqualTo(Byte value) { + public Criteria andQuickHbGreaterThanOrEqualTo(Integer value) { addCriterion("quick_hb >=", value, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbLessThan(Byte value) { + public Criteria andQuickHbLessThan(Integer value) { addCriterion("quick_hb <", value, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbLessThanOrEqualTo(Byte value) { + public Criteria andQuickHbLessThanOrEqualTo(Integer value) { addCriterion("quick_hb <=", value, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbIn(List values) { + public Criteria andQuickHbIn(List values) { addCriterion("quick_hb in", values, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbNotIn(List values) { + public Criteria andQuickHbNotIn(List values) { addCriterion("quick_hb not in", values, "quickHb"); return (Criteria) this; } - public Criteria andQuickHbBetween(Byte value1, Byte value2) { + public Criteria andQuickHbBetween(Integer value1, Integer value2) { addCriterion("quick_hb between", value1, value2, "quickHb"); 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"); return (Criteria) this; } diff --git a/xymanager_dao/src/main/resources/mappers/MntnStatusMapper.xml b/xymanager_dao/src/main/resources/mappers/MntnStatusMapper.xml index b06c6c0..f2c7437 100644 --- a/xymanager_dao/src/main/resources/mappers/MntnStatusMapper.xml +++ b/xymanager_dao/src/main/resources/mappers/MntnStatusMapper.xml @@ -7,8 +7,8 @@ This element is automatically generated by MyBatis Generator, do not modify. --> - - + + @@ -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}, - #{inMaintain,jdbcType=TINYINT}, + #{inMaintain,jdbcType=INTEGER}, - #{quickHb,jdbcType=TINYINT}, + #{quickHb,jdbcType=INTEGER}, #{modeTime,jdbcType=BIGINT}, @@ -278,10 +278,10 @@ 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}, @@ -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 - in_maintain = #{inMaintain,jdbcType=TINYINT}, + in_maintain = #{inMaintain,jdbcType=INTEGER}, - quick_hb = #{quickHb,jdbcType=TINYINT}, + quick_hb = #{quickHb,jdbcType=INTEGER}, 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},