Commit 8b602ffa authored by Ryan Loong's avatar Ryan Loong

update 表结构

parent cdabdd25
...@@ -66,15 +66,6 @@ public class StudentInfo { ...@@ -66,15 +66,6 @@ public class StudentInfo {
*/ */
private String head; private String head;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column student_info.call_times
*
* @mbg.generated
*/
private Integer callTimes;
/** /**
* *
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
...@@ -222,30 +213,6 @@ public class StudentInfo { ...@@ -222,30 +213,6 @@ public class StudentInfo {
this.head = head; this.head = head;
} }
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column student_info.call_times
*
* @return the value of student_info.call_times
*
* @mbg.generated
*/
public Integer getCallTimes() {
return callTimes;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column student_info.call_times
*
* @param callTimes the value for student_info.call_times
*
* @mbg.generated
*/
public void setCallTimes(Integer callTimes) {
this.callTimes = callTimes;
}
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method returns the value of the database column student_info.add_time * This method returns the value of the database column student_info.add_time
...@@ -347,7 +314,6 @@ public class StudentInfo { ...@@ -347,7 +314,6 @@ public class StudentInfo {
sb.append(", classId=").append(classId); sb.append(", classId=").append(classId);
sb.append(", name=").append(name); sb.append(", name=").append(name);
sb.append(", head=").append(head); sb.append(", head=").append(head);
sb.append(", callTimes=").append(callTimes);
sb.append(", addTime=").append(addTime); sb.append(", addTime=").append(addTime);
sb.append(", updateTime=").append(updateTime); sb.append(", updateTime=").append(updateTime);
sb.append(", deleted=").append(deleted); sb.append(", deleted=").append(deleted);
...@@ -378,7 +344,6 @@ public class StudentInfo { ...@@ -378,7 +344,6 @@ public class StudentInfo {
&& (this.getClassId() == null ? other.getClassId() == null : this.getClassId().equals(other.getClassId())) && (this.getClassId() == null ? other.getClassId() == null : this.getClassId().equals(other.getClassId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getHead() == null ? other.getHead() == null : this.getHead().equals(other.getHead())) && (this.getHead() == null ? other.getHead() == null : this.getHead().equals(other.getHead()))
&& (this.getCallTimes() == null ? other.getCallTimes() == null : this.getCallTimes().equals(other.getCallTimes()))
&& (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime())) && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted())); && (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
...@@ -399,7 +364,6 @@ public class StudentInfo { ...@@ -399,7 +364,6 @@ public class StudentInfo {
result = prime * result + ((getClassId() == null) ? 0 : getClassId().hashCode()); result = prime * result + ((getClassId() == null) ? 0 : getClassId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getHead() == null) ? 0 : getHead().hashCode()); result = prime * result + ((getHead() == null) ? 0 : getHead().hashCode());
result = prime * result + ((getCallTimes() == null) ? 0 : getCallTimes().hashCode());
result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode()); result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode()); result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
...@@ -520,7 +484,6 @@ public class StudentInfo { ...@@ -520,7 +484,6 @@ public class StudentInfo {
classId("class_id", "classId", "INTEGER", false), classId("class_id", "classId", "INTEGER", false),
name("name", "name", "VARCHAR", true), name("name", "name", "VARCHAR", true),
head("head", "head", "VARCHAR", false), head("head", "head", "VARCHAR", false),
callTimes("call_times", "callTimes", "INTEGER", false),
addTime("add_time", "addTime", "TIMESTAMP", false), addTime("add_time", "addTime", "TIMESTAMP", false),
updateTime("update_time", "updateTime", "TIMESTAMP", false), updateTime("update_time", "updateTime", "TIMESTAMP", false),
deleted("deleted", "deleted", "BIT", false); deleted("deleted", "deleted", "BIT", false);
......
...@@ -754,96 +754,6 @@ public class StudentInfoExample { ...@@ -754,96 +754,6 @@ public class StudentInfoExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCallTimesIsNull() {
addCriterion("call_times is null");
return (Criteria) this;
}
public Criteria andCallTimesIsNotNull() {
addCriterion("call_times is not null");
return (Criteria) this;
}
public Criteria andCallTimesEqualTo(Integer value) {
addCriterion("call_times =", value, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("call_times = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
}
public Criteria andCallTimesNotEqualTo(Integer value) {
addCriterion("call_times <>", value, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("call_times <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
}
public Criteria andCallTimesGreaterThan(Integer value) {
addCriterion("call_times >", value, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("call_times > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
}
public Criteria andCallTimesGreaterThanOrEqualTo(Integer value) {
addCriterion("call_times >=", value, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("call_times >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
}
public Criteria andCallTimesLessThan(Integer value) {
addCriterion("call_times <", value, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("call_times < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
}
public Criteria andCallTimesLessThanOrEqualTo(Integer value) {
addCriterion("call_times <=", value, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("call_times <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
}
public Criteria andCallTimesIn(List<Integer> values) {
addCriterion("call_times in", values, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesNotIn(List<Integer> values) {
addCriterion("call_times not in", values, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesBetween(Integer value1, Integer value2) {
addCriterion("call_times between", value1, value2, "callTimes");
return (Criteria) this;
}
public Criteria andCallTimesNotBetween(Integer value1, Integer value2) {
addCriterion("call_times not between", value1, value2, "callTimes");
return (Criteria) this;
}
public Criteria andAddTimeIsNull() { public Criteria andAddTimeIsNull() {
addCriterion("add_time is null"); addCriterion("add_time is null");
return (Criteria) this; return (Criteria) this;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
<result column="class_id" jdbcType="INTEGER" property="classId" /> <result column="class_id" jdbcType="INTEGER" property="classId" />
<result column="name" jdbcType="VARCHAR" property="name" /> <result column="name" jdbcType="VARCHAR" property="name" />
<result column="head" jdbcType="VARCHAR" property="head" /> <result column="head" jdbcType="VARCHAR" property="head" />
<result column="call_times" jdbcType="INTEGER" property="callTimes" />
<result column="add_time" jdbcType="TIMESTAMP" property="addTime" /> <result column="add_time" jdbcType="TIMESTAMP" property="addTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="deleted" jdbcType="BIT" property="deleted" /> <result column="deleted" jdbcType="BIT" property="deleted" />
...@@ -87,8 +86,7 @@ ...@@ -87,8 +86,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
id, student_unique_id, class_id, `name`, head, call_times, add_time, update_time, id, student_unique_id, class_id, `name`, head, add_time, update_time, deleted
deleted
</sql> </sql>
<select id="selectByExample" parameterType="cn.exploring.engine.server.db.domain.StudentInfoExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="cn.exploring.engine.server.db.domain.StudentInfoExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -210,11 +208,11 @@ ...@@ -210,11 +208,11 @@
SELECT LAST_INSERT_ID() SELECT LAST_INSERT_ID()
</selectKey> </selectKey>
insert into student_info (student_unique_id, class_id, `name`, insert into student_info (student_unique_id, class_id, `name`,
head, call_times, add_time, head, add_time, update_time,
update_time, deleted) deleted)
values (#{studentUniqueId,jdbcType=VARCHAR}, #{classId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, values (#{studentUniqueId,jdbcType=VARCHAR}, #{classId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR},
#{head,jdbcType=VARCHAR}, #{callTimes,jdbcType=INTEGER}, #{addTime,jdbcType=TIMESTAMP}, #{head,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{deleted,jdbcType=BIT}) #{deleted,jdbcType=BIT})
</insert> </insert>
<insert id="insertSelective" parameterType="cn.exploring.engine.server.db.domain.StudentInfo"> <insert id="insertSelective" parameterType="cn.exploring.engine.server.db.domain.StudentInfo">
<!-- <!--
...@@ -238,9 +236,6 @@ ...@@ -238,9 +236,6 @@
<if test="head != null"> <if test="head != null">
head, head,
</if> </if>
<if test="callTimes != null">
call_times,
</if>
<if test="addTime != null"> <if test="addTime != null">
add_time, add_time,
</if> </if>
...@@ -264,9 +259,6 @@ ...@@ -264,9 +259,6 @@
<if test="head != null"> <if test="head != null">
#{head,jdbcType=VARCHAR}, #{head,jdbcType=VARCHAR},
</if> </if>
<if test="callTimes != null">
#{callTimes,jdbcType=INTEGER},
</if>
<if test="addTime != null"> <if test="addTime != null">
#{addTime,jdbcType=TIMESTAMP}, #{addTime,jdbcType=TIMESTAMP},
</if> </if>
...@@ -310,9 +302,6 @@ ...@@ -310,9 +302,6 @@
<if test="record.head != null"> <if test="record.head != null">
head = #{record.head,jdbcType=VARCHAR}, head = #{record.head,jdbcType=VARCHAR},
</if> </if>
<if test="record.callTimes != null">
call_times = #{record.callTimes,jdbcType=INTEGER},
</if>
<if test="record.addTime != null"> <if test="record.addTime != null">
add_time = #{record.addTime,jdbcType=TIMESTAMP}, add_time = #{record.addTime,jdbcType=TIMESTAMP},
</if> </if>
...@@ -338,7 +327,6 @@ ...@@ -338,7 +327,6 @@
class_id = #{record.classId,jdbcType=INTEGER}, class_id = #{record.classId,jdbcType=INTEGER},
`name` = #{record.name,jdbcType=VARCHAR}, `name` = #{record.name,jdbcType=VARCHAR},
head = #{record.head,jdbcType=VARCHAR}, head = #{record.head,jdbcType=VARCHAR},
call_times = #{record.callTimes,jdbcType=INTEGER},
add_time = #{record.addTime,jdbcType=TIMESTAMP}, add_time = #{record.addTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP},
deleted = #{record.deleted,jdbcType=BIT} deleted = #{record.deleted,jdbcType=BIT}
...@@ -365,9 +353,6 @@ ...@@ -365,9 +353,6 @@
<if test="head != null"> <if test="head != null">
head = #{head,jdbcType=VARCHAR}, head = #{head,jdbcType=VARCHAR},
</if> </if>
<if test="callTimes != null">
call_times = #{callTimes,jdbcType=INTEGER},
</if>
<if test="addTime != null"> <if test="addTime != null">
add_time = #{addTime,jdbcType=TIMESTAMP}, add_time = #{addTime,jdbcType=TIMESTAMP},
</if> </if>
...@@ -390,7 +375,6 @@ ...@@ -390,7 +375,6 @@
class_id = #{classId,jdbcType=INTEGER}, class_id = #{classId,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR}, `name` = #{name,jdbcType=VARCHAR},
head = #{head,jdbcType=VARCHAR}, head = #{head,jdbcType=VARCHAR},
call_times = #{callTimes,jdbcType=INTEGER},
add_time = #{addTime,jdbcType=TIMESTAMP}, add_time = #{addTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
deleted = #{deleted,jdbcType=BIT} deleted = #{deleted,jdbcType=BIT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment