diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivities.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivities.java index 2eaa307..e509b4a 100644 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivities.java +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivities.java @@ -31,6 +31,15 @@ public class MntnActivities { */ private Integer termCount; + /** + * + * This field was generated by MyBatis Generator. + * This field corresponds to the database column mntn_activities.lost_count + * + * @mbg.generated + */ + private Integer lostCount; + /** * * This field was generated by MyBatis Generator. @@ -130,6 +139,30 @@ public class MntnActivities { this.termCount = termCount; } + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column mntn_activities.lost_count + * + * @return the value of mntn_activities.lost_count + * + * @mbg.generated + */ + public Integer getLostCount() { + return lostCount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column mntn_activities.lost_count + * + * @param lostCount the value for mntn_activities.lost_count + * + * @mbg.generated + */ + public void setLostCount(Integer lostCount) { + this.lostCount = lostCount; + } + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column mntn_activities.status diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivitiesExample.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivitiesExample.java index a7594fc..717739f 100644 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivitiesExample.java +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/MntnActivitiesExample.java @@ -385,6 +385,66 @@ public class MntnActivitiesExample { return (Criteria) this; } + public Criteria andLostCountIsNull() { + addCriterion("lost_count is null"); + return (Criteria) this; + } + + public Criteria andLostCountIsNotNull() { + addCriterion("lost_count is not null"); + return (Criteria) this; + } + + public Criteria andLostCountEqualTo(Integer value) { + addCriterion("lost_count =", value, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountNotEqualTo(Integer value) { + addCriterion("lost_count <>", value, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountGreaterThan(Integer value) { + addCriterion("lost_count >", value, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountGreaterThanOrEqualTo(Integer value) { + addCriterion("lost_count >=", value, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountLessThan(Integer value) { + addCriterion("lost_count <", value, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountLessThanOrEqualTo(Integer value) { + addCriterion("lost_count <=", value, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountIn(List values) { + addCriterion("lost_count in", values, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountNotIn(List values) { + addCriterion("lost_count not in", values, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountBetween(Integer value1, Integer value2) { + addCriterion("lost_count between", value1, value2, "lostCount"); + return (Criteria) this; + } + + public Criteria andLostCountNotBetween(Integer value1, Integer value2) { + addCriterion("lost_count not between", value1, value2, "lostCount"); + return (Criteria) this; + } + public Criteria andStatusIsNull() { addCriterion("`status` is null"); return (Criteria) this; diff --git a/xymanager_dao/src/main/resources/mappers/MntnActivitiesMapper.xml b/xymanager_dao/src/main/resources/mappers/MntnActivitiesMapper.xml index b88628a..54c84b9 100644 --- a/xymanager_dao/src/main/resources/mappers/MntnActivitiesMapper.xml +++ b/xymanager_dao/src/main/resources/mappers/MntnActivitiesMapper.xml @@ -9,6 +9,7 @@ + @@ -84,7 +85,7 @@ WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> - id, title, term_count, `status`, create_time, update_time + id, title, term_count, lost_count, `status`, create_time, update_time