Commit cdabdd25 authored by Ryan Loong's avatar Ryan Loong

update 表结构

parent 50b252fc
......@@ -114,7 +114,7 @@
<dependency>
<groupId>com.itfsw</groupId>
<artifactId>mybatis-generator-plugin</artifactId>
<version>1.2.12</version>
<version>1.3.10</version>
</dependency>
</dependencies>
</plugin>
......
......@@ -51,7 +51,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectOneByExample(ClassInfoExample example);
......@@ -60,7 +59,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectOneByExampleSelective(@Param("example") ClassInfoExample example, @Param("selective") ClassInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<ClassInfo> selectByExampleSelective(@Param("example") ClassInfoExample example, @Param("selective") ClassInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") ClassInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") ClassInfoExample example);
......@@ -153,7 +147,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectOneByExample(CourseInitTestExample example);
......@@ -60,7 +59,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectOneByExampleSelective(@Param("example") CourseInitTestExample example, @Param("selective") CourseInitTest.Column ... selective);
......@@ -69,7 +67,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<CourseInitTest> selectByExampleSelective(@Param("example") CourseInitTestExample example, @Param("selective") CourseInitTest.Column ... selective);
......@@ -86,7 +83,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") CourseInitTest.Column ... selective);
......@@ -103,7 +99,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") CourseInitTestExample example);
......@@ -153,7 +147,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectOneByExample(LessonInfoExample example);
......@@ -60,7 +59,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectOneByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LessonInfo> selectByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LessonInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LessonInfoExample example);
......@@ -153,7 +147,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectOneByExample(StudentInfoExample example);
......@@ -60,7 +59,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectOneByExampleSelective(@Param("example") StudentInfoExample example, @Param("selective") StudentInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<StudentInfo> selectByExampleSelective(@Param("example") StudentInfoExample example, @Param("selective") StudentInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") StudentInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") StudentInfoExample example);
......@@ -153,7 +147,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectOneByExample(StudentPointInfoExample example);
......@@ -60,7 +59,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectOneByExampleSelective(@Param("example") StudentPointInfoExample example, @Param("selective") StudentPointInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<StudentPointInfo> selectByExampleSelective(@Param("example") StudentPointInfoExample example, @Param("selective") StudentPointInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") StudentPointInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") StudentPointInfoExample example);
......@@ -153,7 +147,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectOneByExample(UserLessonInfoExample example);
......@@ -60,7 +59,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectOneByExampleSelective(@Param("example") UserLessonInfoExample example, @Param("selective") UserLessonInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<UserLessonInfo> selectByExampleSelective(@Param("example") UserLessonInfoExample example, @Param("selective") UserLessonInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") UserLessonInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") UserLessonInfoExample example);
......@@ -153,7 +147,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectOneByExample(WxUserExample example);
......@@ -60,7 +59,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectOneByExampleSelective(@Param("example") WxUserExample example, @Param("selective") WxUser.Column ... selective);
......@@ -69,7 +67,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<WxUser> selectByExampleSelective(@Param("example") WxUserExample example, @Param("selective") WxUser.Column ... selective);
......@@ -86,7 +83,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") WxUser.Column ... selective);
......@@ -103,7 +99,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") WxUserExample example);
......@@ -153,7 +147,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class ClassInfo {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -164,6 +162,16 @@ public class ClassInfo {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column class_info.deleted
......@@ -200,6 +208,8 @@ public class ClassInfo {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", className=").append(className);
sb.append(", addTime=").append(addTime);
......@@ -252,15 +262,106 @@ public class ClassInfo {
return result;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table class_info
*
* @mbg.generated
*/
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table class_info
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table class_info
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public static Deleted parseValue(Boolean value) {
if (value != null) {
for (Deleted item : values()) {
if (item.value.equals(value)) {
return item;
}
}
}
return null;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public static Deleted parseName(String name) {
if (name != null) {
for (Deleted item : values()) {
if (item.name.equals(name)) {
return item;
}
}
}
return null;
}
}
/**
......@@ -268,7 +369,6 @@ public class ClassInfo {
* This enum corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -282,7 +382,6 @@ public class ClassInfo {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -291,7 +390,6 @@ public class ClassInfo {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -300,7 +398,6 @@ public class ClassInfo {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -309,7 +406,6 @@ public class ClassInfo {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -318,7 +414,6 @@ public class ClassInfo {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -327,7 +422,6 @@ public class ClassInfo {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -336,7 +430,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -347,7 +440,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -358,7 +450,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -369,7 +460,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -380,7 +470,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -394,7 +483,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -405,7 +493,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -416,7 +503,6 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -431,7 +517,16 @@ public class ClassInfo {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] all() {
return Column.values();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -440,5 +535,15 @@ public class ClassInfo {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class ClassInfoExample {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public ClassInfoExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class ClassInfoExample {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public ClassInfoExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,51 @@ public class ClassInfoExample {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
ClassInfoExample example = new ClassInfoExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public ClassInfoExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public ClassInfoExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public ClassInfoExample distinct(boolean distinct) {
this.setDistinct(distinct);
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table class_info
......@@ -253,13 +289,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -270,13 +299,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -287,13 +309,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -304,13 +319,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -321,13 +329,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -338,13 +339,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -385,13 +379,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassNameEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("class_name = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -402,13 +389,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassNameNotEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("class_name <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -419,13 +399,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassNameGreaterThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("class_name > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -436,13 +409,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassNameGreaterThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("class_name >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -453,13 +419,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassNameLessThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("class_name < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -470,13 +429,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassNameLessThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("class_name <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -527,13 +479,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -544,13 +489,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -561,13 +499,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -578,13 +509,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -595,13 +519,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -612,13 +529,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -659,13 +569,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -676,13 +579,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -693,13 +589,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -710,13 +599,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -727,13 +609,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -744,13 +619,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -791,13 +659,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -808,13 +669,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -825,13 +679,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -842,13 +689,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -859,13 +699,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -876,13 +709,6 @@ public class ClassInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(ClassInfo.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -921,7 +747,6 @@ public class ClassInfoExample {
* This field corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private ClassInfoExample example;
......@@ -930,7 +755,6 @@ public class ClassInfoExample {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(ClassInfoExample example) {
super();
......@@ -942,7 +766,6 @@ public class ClassInfoExample {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public ClassInfoExample example() {
return this.example;
......@@ -953,8 +776,8 @@ public class ClassInfoExample {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -967,26 +790,46 @@ public class ClassInfoExample {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(ClassInfo.IS_DELETED) : andDeletedNotEqualTo(ClassInfo.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table class_info
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(ClassInfo.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(ClassInfo.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Criteria add(Criteria add);
}
......@@ -1083,4 +926,24 @@ public class ClassInfoExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table class_info
*
* @mbg.generated
*/
void example(cn.exploring.engine.server.db.domain.ClassInfoExample example);
}
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class CourseInitTest {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -362,6 +360,16 @@ public class CourseInitTest {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column course_init_test.deleted
......@@ -398,6 +406,8 @@ public class CourseInitTest {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", titleRank=").append(titleRank);
sb.append(", title=").append(title);
......@@ -468,15 +478,106 @@ public class CourseInitTest {
return result;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table course_init_test
*
* @mbg.generated
*/
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table course_init_test
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table course_init_test
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public static Deleted parseValue(Boolean value) {
if (value != null) {
for (Deleted item : values()) {
if (item.value.equals(value)) {
return item;
}
}
}
return null;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public static Deleted parseName(String name) {
if (name != null) {
for (Deleted item : values()) {
if (item.name.equals(name)) {
return item;
}
}
}
return null;
}
}
/**
......@@ -484,7 +585,6 @@ public class CourseInitTest {
* This enum corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -504,7 +604,6 @@ public class CourseInitTest {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -513,7 +612,6 @@ public class CourseInitTest {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -522,7 +620,6 @@ public class CourseInitTest {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -531,7 +628,6 @@ public class CourseInitTest {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -540,7 +636,6 @@ public class CourseInitTest {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -549,7 +644,6 @@ public class CourseInitTest {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -558,7 +652,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -569,7 +662,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -580,7 +672,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -591,7 +682,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -602,7 +692,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -616,7 +705,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -627,7 +715,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -638,7 +725,6 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -653,7 +739,16 @@ public class CourseInitTest {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] all() {
return Column.values();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -662,5 +757,15 @@ public class CourseInitTest {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class CourseInitTestExample {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public CourseInitTestExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class CourseInitTestExample {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public CourseInitTestExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,51 @@ public class CourseInitTestExample {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
CourseInitTestExample example = new CourseInitTestExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public CourseInitTestExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public CourseInitTestExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public CourseInitTestExample distinct(boolean distinct) {
this.setDistinct(distinct);
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table course_init_test
......@@ -253,13 +289,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -270,13 +299,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -287,13 +309,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -304,13 +319,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -321,13 +329,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -338,13 +339,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -385,13 +379,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleRankEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title_rank = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -402,13 +389,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleRankNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title_rank <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -419,13 +399,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleRankGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title_rank > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -436,13 +409,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleRankGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title_rank >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -453,13 +419,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleRankLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title_rank < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -470,13 +429,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleRankLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title_rank <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -517,13 +469,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -534,13 +479,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -551,13 +489,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -568,13 +499,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -585,13 +509,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -602,13 +519,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTitleLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("title <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -659,13 +569,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("topic = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -676,13 +579,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("topic <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -693,13 +589,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("topic > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -710,13 +599,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("topic >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -727,13 +609,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("topic < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -744,13 +619,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("topic <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -801,13 +669,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -818,13 +679,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionANotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -835,13 +689,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -852,13 +699,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -869,13 +709,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionALessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -886,13 +719,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionALessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -943,13 +769,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A_point = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -960,13 +779,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A_point <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -977,13 +789,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A_point > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -994,13 +799,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A_point >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1011,13 +809,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A_point < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1028,13 +819,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_A_point <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1075,13 +859,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1092,13 +869,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1109,13 +879,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1126,13 +889,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1143,13 +899,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1160,13 +909,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1217,13 +959,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B_point = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1234,13 +969,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B_point <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1251,13 +979,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B_point > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1268,13 +989,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B_point >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1285,13 +999,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B_point < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1302,13 +1009,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("option_B_point <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1349,13 +1049,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1366,13 +1059,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1383,13 +1069,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1400,13 +1079,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1417,13 +1089,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1434,13 +1099,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1481,13 +1139,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1498,13 +1149,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1515,13 +1159,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1532,13 +1169,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1549,13 +1179,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1566,13 +1189,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1613,13 +1229,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1630,13 +1239,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1647,13 +1249,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1664,13 +1259,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1681,13 +1269,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1698,13 +1279,6 @@ public class CourseInitTestExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(CourseInitTest.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1743,7 +1317,6 @@ public class CourseInitTestExample {
* This field corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private CourseInitTestExample example;
......@@ -1752,7 +1325,6 @@ public class CourseInitTestExample {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(CourseInitTestExample example) {
super();
......@@ -1764,7 +1336,6 @@ public class CourseInitTestExample {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public CourseInitTestExample example() {
return this.example;
......@@ -1775,8 +1346,8 @@ public class CourseInitTestExample {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1789,26 +1360,46 @@ public class CourseInitTestExample {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(CourseInitTest.IS_DELETED) : andDeletedNotEqualTo(CourseInitTest.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table course_init_test
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(CourseInitTest.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(CourseInitTest.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Criteria add(Criteria add);
}
......@@ -1905,4 +1496,24 @@ public class CourseInitTestExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table course_init_test
*
* @mbg.generated
*/
void example(cn.exploring.engine.server.db.domain.CourseInitTestExample example);
}
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class LessonInfo {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -758,6 +756,16 @@ public class LessonInfo {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lesson_info.deleted
......@@ -794,6 +802,8 @@ public class LessonInfo {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", chapters=").append(chapters);
sb.append(", chaptersName=").append(chaptersName);
......@@ -900,15 +910,106 @@ public class LessonInfo {
return result;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table lesson_info
*
* @mbg.generated
*/
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table lesson_info
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table lesson_info
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public static Deleted parseValue(Boolean value) {
if (value != null) {
for (Deleted item : values()) {
if (item.value.equals(value)) {
return item;
}
}
}
return null;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public static Deleted parseName(String name) {
if (name != null) {
for (Deleted item : values()) {
if (item.name.equals(name)) {
return item;
}
}
}
return null;
}
}
/**
......@@ -916,7 +1017,6 @@ public class LessonInfo {
* This enum corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -948,7 +1048,6 @@ public class LessonInfo {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -957,7 +1056,6 @@ public class LessonInfo {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -966,7 +1064,6 @@ public class LessonInfo {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -975,7 +1072,6 @@ public class LessonInfo {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -984,7 +1080,6 @@ public class LessonInfo {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -993,7 +1088,6 @@ public class LessonInfo {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -1002,7 +1096,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -1013,7 +1106,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -1024,7 +1116,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -1035,7 +1126,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -1046,7 +1136,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -1060,7 +1149,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -1071,7 +1159,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -1082,7 +1169,6 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -1097,7 +1183,16 @@ public class LessonInfo {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] all() {
return Column.values();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -1106,5 +1201,15 @@ public class LessonInfo {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class LessonInfoExample {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LessonInfoExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class LessonInfoExample {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LessonInfoExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,51 @@ public class LessonInfoExample {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
LessonInfoExample example = new LessonInfoExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public LessonInfoExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public LessonInfoExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public LessonInfoExample distinct(boolean distinct) {
this.setDistinct(distinct);
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table lesson_info
......@@ -253,13 +289,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -270,13 +299,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -287,13 +309,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -304,13 +319,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -321,13 +329,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -338,13 +339,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -385,13 +379,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -402,13 +389,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -419,13 +399,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -436,13 +409,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -453,13 +419,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -470,13 +429,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -517,13 +469,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersNameEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_name = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -534,13 +479,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersNameNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_name <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -551,13 +489,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersNameGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_name > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -568,13 +499,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersNameGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_name >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -585,13 +509,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersNameLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_name < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -602,13 +519,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersNameLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_name <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -659,13 +569,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("`session` = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -676,13 +579,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("`session` <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -693,13 +589,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("`session` > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -710,13 +599,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("`session` >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -727,13 +609,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("`session` < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -744,13 +619,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("`session` <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -791,13 +659,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionNameEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("session_name = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -808,13 +669,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionNameNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("session_name <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -825,13 +679,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionNameGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("session_name > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -842,13 +689,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionNameGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("session_name >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -859,13 +699,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionNameLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("session_name < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -876,13 +709,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionNameLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("session_name <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -933,13 +759,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonContentEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_content = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -950,13 +769,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonContentNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_content <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -967,13 +779,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonContentGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_content > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -984,13 +789,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonContentGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_content >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1001,13 +799,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonContentLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_content < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1018,13 +809,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonContentLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_content <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1075,13 +859,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonOrderEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_order = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1092,13 +869,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonOrderNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_order <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1109,13 +879,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonOrderGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_order > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1126,13 +889,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonOrderGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_order >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1143,13 +899,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonOrderLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_order < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1160,13 +909,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLessonOrderLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("lesson_order <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1207,13 +949,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCoverEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("cover = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1224,13 +959,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCoverNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("cover <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1241,13 +969,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCoverGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("cover > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1258,13 +979,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCoverGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("cover >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1275,13 +989,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCoverLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("cover < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1292,13 +999,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCoverLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("cover <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1349,13 +1049,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVidUrlEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("vid_url = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1366,13 +1059,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVidUrlNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("vid_url <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1383,13 +1069,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVidUrlGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("vid_url > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1400,13 +1079,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVidUrlGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("vid_url >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1417,13 +1089,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVidUrlLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("vid_url < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1434,13 +1099,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVidUrlLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("vid_url <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1491,13 +1149,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVideoEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("video = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1508,13 +1159,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVideoNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("video <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1525,13 +1169,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVideoGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("video > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1542,13 +1179,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVideoGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("video >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1559,13 +1189,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVideoLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("video < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1576,13 +1199,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andVideoLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("video <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1633,13 +1249,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("topic = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1650,13 +1259,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("topic <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1667,13 +1269,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("topic > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1684,13 +1279,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("topic >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1701,13 +1289,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("topic < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1718,13 +1299,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTopicLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("topic <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1775,13 +1349,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1792,13 +1359,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionANotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1809,13 +1369,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1826,13 +1379,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1843,13 +1389,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionALessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1860,13 +1399,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionALessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1917,13 +1449,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A_point = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1934,13 +1459,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A_point <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1951,13 +1469,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A_point > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1968,13 +1479,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A_point >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1985,13 +1489,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A_point < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2002,13 +1499,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionAPointLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_A_point <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2049,13 +1539,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainAEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_A = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2066,13 +1549,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainANotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_A <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2083,13 +1559,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainAGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_A > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2100,13 +1569,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainAGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_A >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2117,13 +1579,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainALessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_A < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2134,13 +1589,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainALessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_A <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2191,13 +1639,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2208,13 +1649,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2225,13 +1659,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2242,13 +1669,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2259,13 +1679,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2276,13 +1689,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2333,13 +1739,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B_point = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2350,13 +1749,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B_point <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2367,13 +1759,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B_point > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2384,13 +1769,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B_point >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2401,13 +1779,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B_point < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2418,13 +1789,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionBPointLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_B_point <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2465,13 +1829,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainBEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_B = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2482,13 +1839,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainBNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_B <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2499,13 +1849,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainBGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_B > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2516,13 +1859,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainBGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_B >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2533,30 +1869,16 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainBLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_B < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
}
public Criteria andExplainBLessThanOrEqualTo(String value) {
addCriterion("explain_B <=", value, "explainB");
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainBLessThanOrEqualTo(String value) {
addCriterion("explain_B <=", value, "explainB");
return (Criteria) this;
}
public Criteria andExplainBLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_B <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2607,13 +1929,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2624,13 +1939,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2641,13 +1949,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2658,13 +1959,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2675,13 +1969,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2692,13 +1979,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2749,13 +2029,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCPointEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C_point = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2766,13 +2039,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCPointNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C_point <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2783,13 +2049,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCPointGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C_point > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2800,13 +2059,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCPointGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C_point >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2817,13 +2069,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCPointLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C_point < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2834,13 +2079,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andOptionCPointLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("option_C_point <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2881,13 +2119,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainCEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_C = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2898,13 +2129,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainCNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_C <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2915,13 +2139,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainCGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_C > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2932,13 +2149,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainCGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_C >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2949,13 +2159,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainCLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_C < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -2966,13 +2169,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andExplainCLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("explain_C <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3023,13 +2219,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3040,13 +2229,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3057,13 +2239,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3074,13 +2249,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3091,13 +2259,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3108,13 +2269,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3155,13 +2309,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3172,13 +2319,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3189,13 +2329,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3206,13 +2339,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3223,13 +2349,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3240,13 +2359,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3287,13 +2399,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3304,13 +2409,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3321,13 +2419,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3338,13 +2429,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3355,13 +2439,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3372,13 +2449,6 @@ public class LessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(LessonInfo.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -3417,7 +2487,6 @@ public class LessonInfoExample {
* This field corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private LessonInfoExample example;
......@@ -3426,7 +2495,6 @@ public class LessonInfoExample {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(LessonInfoExample example) {
super();
......@@ -3438,7 +2506,6 @@ public class LessonInfoExample {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LessonInfoExample example() {
return this.example;
......@@ -3449,8 +2516,8 @@ public class LessonInfoExample {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -3463,26 +2530,46 @@ public class LessonInfoExample {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LessonInfo.IS_DELETED) : andDeletedNotEqualTo(LessonInfo.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table lesson_info
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LessonInfo.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LessonInfo.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Criteria add(Criteria add);
}
......@@ -3579,4 +2666,24 @@ public class LessonInfoExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lesson_info
*
* @mbg.generated
*/
void example(cn.exploring.engine.server.db.domain.LessonInfoExample example);
}
}
\ No newline at end of file
package cn.exploring.engine.server.db.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
......@@ -12,18 +10,16 @@ public class StudentInfo {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -70,6 +66,15 @@ public class StudentInfo {
*/
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.
......@@ -77,7 +82,6 @@ public class StudentInfo {
*
* @mbg.generated
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime addTime;
/**
......@@ -87,7 +91,6 @@ public class StudentInfo {
*
* @mbg.generated
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateTime;
/**
......@@ -219,6 +222,30 @@ public class StudentInfo {
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 returns the value of the database column student_info.add_time
......@@ -267,6 +294,16 @@ public class StudentInfo {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column student_info.deleted
......@@ -303,11 +340,14 @@ public class StudentInfo {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", studentUniqueId=").append(studentUniqueId);
sb.append(", classId=").append(classId);
sb.append(", name=").append(name);
sb.append(", head=").append(head);
sb.append(", callTimes=").append(callTimes);
sb.append(", addTime=").append(addTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", deleted=").append(deleted);
......@@ -338,6 +378,7 @@ public class StudentInfo {
&& (this.getClassId() == null ? other.getClassId() == null : this.getClassId().equals(other.getClassId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (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.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
......@@ -358,21 +399,113 @@ public class StudentInfo {
result = prime * result + ((getClassId() == null) ? 0 : getClassId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().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 + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
return result;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table student_info
*
* @mbg.generated
*/
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table student_info
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table student_info
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public static Deleted parseValue(Boolean value) {
if (value != null) {
for (Deleted item : values()) {
if (item.value.equals(value)) {
return item;
}
}
}
return null;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public static Deleted parseName(String name) {
if (name != null) {
for (Deleted item : values()) {
if (item.name.equals(name)) {
return item;
}
}
}
return null;
}
}
/**
......@@ -380,7 +513,6 @@ public class StudentInfo {
* This enum corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -388,6 +520,7 @@ public class StudentInfo {
classId("class_id", "classId", "INTEGER", false),
name("name", "name", "VARCHAR", true),
head("head", "head", "VARCHAR", false),
callTimes("call_times", "callTimes", "INTEGER", false),
addTime("add_time", "addTime", "TIMESTAMP", false),
updateTime("update_time", "updateTime", "TIMESTAMP", false),
deleted("deleted", "deleted", "BIT", false);
......@@ -397,7 +530,6 @@ public class StudentInfo {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -406,7 +538,6 @@ public class StudentInfo {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -415,7 +546,6 @@ public class StudentInfo {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -424,7 +554,6 @@ public class StudentInfo {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -433,7 +562,6 @@ public class StudentInfo {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -442,7 +570,6 @@ public class StudentInfo {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -451,7 +578,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -462,7 +588,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -473,7 +598,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -484,7 +608,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -495,7 +618,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -509,7 +631,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -520,7 +641,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -531,7 +651,6 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -546,7 +665,16 @@ public class StudentInfo {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] all() {
return Column.values();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -555,5 +683,15 @@ public class StudentInfo {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class StudentInfoExample {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public StudentInfoExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class StudentInfoExample {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public StudentInfoExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,51 @@ public class StudentInfoExample {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
StudentInfoExample example = new StudentInfoExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public StudentInfoExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public StudentInfoExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public StudentInfoExample distinct(boolean distinct) {
this.setDistinct(distinct);
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table student_info
......@@ -253,13 +289,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -270,13 +299,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -287,13 +309,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -304,13 +319,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -321,13 +329,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -338,13 +339,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -385,13 +379,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentUniqueIdEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("student_unique_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -402,13 +389,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentUniqueIdNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("student_unique_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -419,13 +399,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentUniqueIdGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("student_unique_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -436,13 +409,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentUniqueIdGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("student_unique_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -453,13 +419,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentUniqueIdLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("student_unique_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -470,13 +429,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentUniqueIdLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("student_unique_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -527,13 +479,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("class_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -544,13 +489,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("class_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -561,13 +499,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("class_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -578,13 +509,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("class_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -595,13 +519,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("class_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -612,13 +529,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("class_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -659,13 +569,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -676,13 +579,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -693,13 +589,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -710,13 +599,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -727,13 +609,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -744,13 +619,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -801,13 +669,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andHeadEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("head = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -818,13 +679,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andHeadNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("head <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -835,13 +689,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andHeadGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("head > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -852,13 +699,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andHeadGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("head >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -869,13 +709,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andHeadLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("head < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -886,13 +719,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andHeadLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("head <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -928,6 +754,96 @@ public class StudentInfoExample {
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() {
addCriterion("add_time is null");
return (Criteria) this;
......@@ -943,13 +859,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -960,13 +869,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -977,13 +879,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -994,13 +889,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1011,13 +899,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1028,13 +909,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1075,13 +949,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1092,13 +959,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1109,13 +969,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1126,13 +979,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1143,13 +989,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1160,13 +999,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1207,13 +1039,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1224,13 +1049,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1241,13 +1059,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1258,13 +1069,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1275,13 +1079,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1292,13 +1089,6 @@ public class StudentInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(StudentInfo.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1337,7 +1127,6 @@ public class StudentInfoExample {
* This field corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private StudentInfoExample example;
......@@ -1346,7 +1135,6 @@ public class StudentInfoExample {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(StudentInfoExample example) {
super();
......@@ -1358,7 +1146,6 @@ public class StudentInfoExample {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public StudentInfoExample example() {
return this.example;
......@@ -1369,8 +1156,8 @@ public class StudentInfoExample {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1383,26 +1170,46 @@ public class StudentInfoExample {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(StudentInfo.IS_DELETED) : andDeletedNotEqualTo(StudentInfo.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table student_info
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(StudentInfo.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(StudentInfo.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Criteria add(Criteria add);
}
......@@ -1499,4 +1306,24 @@ public class StudentInfoExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_info
*
* @mbg.generated
*/
void example(cn.exploring.engine.server.db.domain.StudentInfoExample example);
}
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class StudentPointInfo {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -75,7 +73,6 @@ public class StudentPointInfo {
*
* @mbg.generated
*/
private LocalDateTime addTime;
/**
......@@ -264,6 +261,16 @@ public class StudentPointInfo {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column student_point_info.deleted
......@@ -300,6 +307,8 @@ public class StudentPointInfo {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", studentId=").append(studentId);
sb.append(", classId=").append(classId);
......@@ -361,15 +370,106 @@ public class StudentPointInfo {
return result;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table student_point_info
*
* @mbg.generated
*/
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table student_point_info
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table student_point_info
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public static Deleted parseValue(Boolean value) {
if (value != null) {
for (Deleted item : values()) {
if (item.value.equals(value)) {
return item;
}
}
}
return null;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public static Deleted parseName(String name) {
if (name != null) {
for (Deleted item : values()) {
if (item.name.equals(name)) {
return item;
}
}
}
return null;
}
}
/**
......@@ -377,7 +477,6 @@ public class StudentPointInfo {
* This enum corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -394,7 +493,6 @@ public class StudentPointInfo {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -403,7 +501,6 @@ public class StudentPointInfo {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -412,7 +509,6 @@ public class StudentPointInfo {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -421,7 +517,6 @@ public class StudentPointInfo {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -430,7 +525,6 @@ public class StudentPointInfo {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -439,7 +533,6 @@ public class StudentPointInfo {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -448,7 +541,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -459,7 +551,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -470,7 +561,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -481,7 +571,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -492,7 +581,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -506,7 +594,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -517,7 +604,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -528,7 +614,6 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -543,7 +628,16 @@ public class StudentPointInfo {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] all() {
return Column.values();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -552,5 +646,15 @@ public class StudentPointInfo {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class StudentPointInfoExample {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public StudentPointInfoExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class StudentPointInfoExample {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public StudentPointInfoExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,51 @@ public class StudentPointInfoExample {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
StudentPointInfoExample example = new StudentPointInfoExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public StudentPointInfoExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public StudentPointInfoExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public StudentPointInfoExample distinct(boolean distinct) {
this.setDistinct(distinct);
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table student_point_info
......@@ -253,13 +289,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -270,13 +299,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -287,13 +309,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -304,13 +319,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -321,13 +329,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -338,13 +339,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -385,13 +379,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentIdEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("student_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -402,13 +389,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentIdNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("student_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -419,13 +399,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentIdGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("student_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -436,13 +409,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentIdGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("student_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -453,13 +419,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentIdLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("student_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -470,13 +429,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStudentIdLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("student_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -517,13 +469,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("class_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -534,13 +479,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("class_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -551,13 +489,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("class_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -568,13 +499,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("class_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -585,13 +509,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("class_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -602,13 +519,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andClassIdLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("class_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -649,13 +559,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPointEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("point = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -666,13 +569,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPointNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("point <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -683,13 +579,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPointGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("point > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -700,13 +589,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPointGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("point >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -717,13 +599,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPointLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("point < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -734,13 +609,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPointLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("point <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -781,13 +649,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRecordTimeEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("record_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -798,13 +659,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRecordTimeNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("record_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -815,13 +669,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRecordTimeGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("record_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -832,13 +679,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRecordTimeGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("record_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -849,13 +689,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRecordTimeLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("record_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -866,13 +699,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRecordTimeLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("record_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -913,13 +739,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -930,13 +749,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -947,13 +759,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -964,13 +769,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -981,13 +779,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -998,13 +789,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1045,13 +829,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1062,13 +839,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1079,13 +849,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1096,13 +859,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1113,13 +869,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1130,13 +879,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1177,13 +919,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1194,13 +929,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1211,13 +939,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1228,13 +949,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1245,13 +959,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1262,13 +969,6 @@ public class StudentPointInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(StudentPointInfo.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1307,7 +1007,6 @@ public class StudentPointInfoExample {
* This field corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private StudentPointInfoExample example;
......@@ -1316,7 +1015,6 @@ public class StudentPointInfoExample {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(StudentPointInfoExample example) {
super();
......@@ -1328,7 +1026,6 @@ public class StudentPointInfoExample {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public StudentPointInfoExample example() {
return this.example;
......@@ -1339,8 +1036,8 @@ public class StudentPointInfoExample {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1353,26 +1050,46 @@ public class StudentPointInfoExample {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(StudentPointInfo.IS_DELETED) : andDeletedNotEqualTo(StudentPointInfo.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table student_point_info
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(StudentPointInfo.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(StudentPointInfo.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Criteria add(Criteria add);
}
......@@ -1469,4 +1186,24 @@ public class StudentPointInfoExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table student_point_info
*
* @mbg.generated
*/
void example(cn.exploring.engine.server.db.domain.StudentPointInfoExample example);
}
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class UserLessonInfo {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -263,6 +261,16 @@ public class UserLessonInfo {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user_lesson_info.deleted
......@@ -299,6 +307,8 @@ public class UserLessonInfo {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", chaptersId=").append(chaptersId);
sb.append(", sessionId=").append(sessionId);
......@@ -360,15 +370,106 @@ public class UserLessonInfo {
return result;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public static Deleted parseValue(Boolean value) {
if (value != null) {
for (Deleted item : values()) {
if (item.value.equals(value)) {
return item;
}
}
}
return null;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public static Deleted parseName(String name) {
if (name != null) {
for (Deleted item : values()) {
if (item.name.equals(name)) {
return item;
}
}
}
return null;
}
}
/**
......@@ -376,7 +477,6 @@ public class UserLessonInfo {
* This enum corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -393,7 +493,6 @@ public class UserLessonInfo {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -402,7 +501,6 @@ public class UserLessonInfo {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -411,7 +509,6 @@ public class UserLessonInfo {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -420,7 +517,6 @@ public class UserLessonInfo {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -429,7 +525,6 @@ public class UserLessonInfo {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -438,7 +533,6 @@ public class UserLessonInfo {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -447,7 +541,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -458,7 +551,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -469,7 +561,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -480,7 +571,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -491,7 +581,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -505,7 +594,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -516,7 +604,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -527,7 +614,6 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -542,7 +628,16 @@ public class UserLessonInfo {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] all() {
return Column.values();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -551,5 +646,15 @@ public class UserLessonInfo {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class UserLessonInfoExample {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public UserLessonInfoExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class UserLessonInfoExample {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public UserLessonInfoExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,51 @@ public class UserLessonInfoExample {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
UserLessonInfoExample example = new UserLessonInfoExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public UserLessonInfoExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public UserLessonInfoExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public UserLessonInfoExample distinct(boolean distinct) {
this.setDistinct(distinct);
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table user_lesson_info
......@@ -253,13 +289,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -270,13 +299,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -287,13 +309,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -304,13 +319,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -321,13 +329,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -338,13 +339,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -385,13 +379,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersIdEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -402,13 +389,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersIdNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -419,13 +399,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersIdGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -436,13 +409,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersIdGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -453,13 +419,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersIdLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -470,13 +429,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andChaptersIdLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("chapters_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -517,13 +469,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionIdEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("session_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -534,13 +479,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionIdNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("session_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -551,13 +489,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionIdGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("session_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -568,13 +499,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionIdGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("session_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -585,13 +509,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionIdLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("session_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -602,13 +519,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSessionIdLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("session_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -649,13 +559,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -666,13 +569,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -683,13 +579,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -700,13 +589,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -717,13 +599,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -734,13 +609,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -781,13 +649,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSelectIdEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("select_id = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -798,13 +659,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSelectIdNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("select_id <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -815,13 +669,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSelectIdGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("select_id > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -832,13 +679,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSelectIdGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("select_id >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -849,13 +689,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSelectIdLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("select_id < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -866,13 +699,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andSelectIdLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("select_id <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -913,13 +739,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -930,13 +749,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -947,13 +759,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -964,13 +769,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -981,13 +779,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -998,13 +789,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1045,13 +829,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1062,13 +839,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1079,13 +849,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1096,13 +859,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1113,13 +869,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1130,13 +879,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1177,13 +919,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1194,13 +929,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1211,13 +939,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1228,13 +949,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1245,13 +959,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1262,13 +969,6 @@ public class UserLessonInfoExample {
return (Criteria) this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(UserLessonInfo.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
return (Criteria) this;
......@@ -1307,7 +1007,6 @@ public class UserLessonInfoExample {
* This field corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private UserLessonInfoExample example;
......@@ -1316,7 +1015,6 @@ public class UserLessonInfoExample {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(UserLessonInfoExample example) {
super();
......@@ -1328,7 +1026,6 @@ public class UserLessonInfoExample {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public UserLessonInfoExample example() {
return this.example;
......@@ -1339,8 +1036,8 @@ public class UserLessonInfoExample {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1353,26 +1050,46 @@ public class UserLessonInfoExample {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(UserLessonInfo.IS_DELETED) : andDeletedNotEqualTo(UserLessonInfo.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table user_lesson_info
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(UserLessonInfo.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(UserLessonInfo.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Criteria add(Criteria add);
}
......@@ -1469,4 +1186,24 @@ public class UserLessonInfoExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
*/
void example(cn.exploring.engine.server.db.domain.UserLessonInfoExample example);
}
}
\ No newline at end of file
......@@ -11,18 +11,16 @@ public class WxUser {
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -1353,6 +1351,16 @@ public class WxUser {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column wx_user.deleted
......@@ -1389,6 +1397,8 @@ public class WxUser {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
......@@ -1549,15 +1559,106 @@ public class WxUser {
return result;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table wx_user
*
* @mbg.generated
*/
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table wx_user
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table wx_user
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public static Deleted parseValue(Boolean value) {
if (value != null) {
for (Deleted item : values()) {
if (item.value.equals(value)) {
return item;
}
}
}
return null;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public static Deleted parseName(String name) {
if (name != null) {
for (Deleted item : values()) {
if (item.name.equals(name)) {
return item;
}
}
}
return null;
}
}
/**
......@@ -1565,7 +1666,6 @@ public class WxUser {
* This enum corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -1615,7 +1715,6 @@ public class WxUser {
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -1624,7 +1723,6 @@ public class WxUser {
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -1633,7 +1731,6 @@ public class WxUser {
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -1642,7 +1739,6 @@ public class WxUser {
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -1651,7 +1747,6 @@ public class WxUser {
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -1660,7 +1755,6 @@ public class WxUser {
* This field corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -1669,7 +1763,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -1680,7 +1773,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -1691,7 +1783,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -1702,7 +1793,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -1713,7 +1803,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -1727,7 +1816,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -1738,7 +1826,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -1749,7 +1836,6 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -1764,7 +1850,16 @@ public class WxUser {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] all() {
return Column.values();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -1773,5 +1868,15 @@ public class WxUser {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table wx_user
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -107,27 +107,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, class_name, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from class_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -142,11 +141,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -169,17 +163,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, class_name, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from class_info
......@@ -344,7 +337,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -361,24 +353,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, class_name, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from class_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -387,7 +378,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update class_info set deleted = 1
<if test="_parameter != null">
......@@ -398,7 +388,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update class_info set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
......@@ -114,28 +114,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, title_rank, title, topic, option_A, option_A_point, option_B, option_B_point,
add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from course_init_test
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -150,11 +148,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -177,18 +170,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, title_rank, title, topic, option_A, option_A_point, option_B, option_B_point,
add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from course_init_test
......@@ -441,7 +432,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -458,25 +448,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, title_rank, title, topic, option_A, option_A_point, option_B, option_B_point,
add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from course_init_test
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -485,7 +473,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update course_init_test set deleted = 1
<if test="_parameter != null">
......@@ -496,7 +483,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update course_init_test set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
......@@ -127,29 +127,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, chapters, chapters_name, `session`, session_name, lesson_content, lesson_order,
cover, vid_url, video, topic, option_A, option_A_point, explain_A, option_B, option_B_point,
explain_B, option_C, option_C_point, explain_C, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from lesson_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -164,11 +161,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -191,19 +183,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, chapters, chapters_name, `session`, session_name, lesson_content, lesson_order,
cover, vid_url, video, topic, option_A, option_A_point, explain_A, option_B, option_B_point,
explain_B, option_C, option_C_point, explain_C, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from lesson_info
......@@ -632,7 +621,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -649,26 +637,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, chapters, chapters_name, `session`, session_name, lesson_content, lesson_order,
cover, vid_url, video, topic, option_A, option_A_point, explain_A, option_B, option_B_point,
explain_B, option_C, option_C_point, explain_C, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from lesson_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -677,7 +662,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update lesson_info set deleted = 1
<if test="_parameter != null">
......@@ -688,7 +672,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update lesson_info set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
......@@ -11,6 +11,7 @@
<result column="class_id" jdbcType="INTEGER" property="classId" />
<result column="name" jdbcType="VARCHAR" property="name" />
<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="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="deleted" jdbcType="BIT" property="deleted" />
......@@ -86,7 +87,8 @@
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, student_unique_id, class_id, `name`, head, add_time, update_time, deleted
id, student_unique_id, class_id, `name`, head, call_times, add_time, update_time,
deleted
</sql>
<select id="selectByExample" parameterType="cn.exploring.engine.server.db.domain.StudentInfoExample" resultMap="BaseResultMap">
<!--
......@@ -110,27 +112,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, student_unique_id, class_id, `name`, head, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from student_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -145,11 +146,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -172,17 +168,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, student_unique_id, class_id, `name`, head, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from student_info
......@@ -215,11 +210,11 @@
SELECT LAST_INSERT_ID()
</selectKey>
insert into student_info (student_unique_id, class_id, `name`,
head, add_time, update_time,
deleted)
head, call_times, add_time,
update_time, deleted)
values (#{studentUniqueId,jdbcType=VARCHAR}, #{classId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR},
#{head,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{deleted,jdbcType=BIT})
#{head,jdbcType=VARCHAR}, #{callTimes,jdbcType=INTEGER}, #{addTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{deleted,jdbcType=BIT})
</insert>
<insert id="insertSelective" parameterType="cn.exploring.engine.server.db.domain.StudentInfo">
<!--
......@@ -243,6 +238,9 @@
<if test="head != null">
head,
</if>
<if test="callTimes != null">
call_times,
</if>
<if test="addTime != null">
add_time,
</if>
......@@ -266,6 +264,9 @@
<if test="head != null">
#{head,jdbcType=VARCHAR},
</if>
<if test="callTimes != null">
#{callTimes,jdbcType=INTEGER},
</if>
<if test="addTime != null">
#{addTime,jdbcType=TIMESTAMP},
</if>
......@@ -309,6 +310,9 @@
<if test="record.head != null">
head = #{record.head,jdbcType=VARCHAR},
</if>
<if test="record.callTimes != null">
call_times = #{record.callTimes,jdbcType=INTEGER},
</if>
<if test="record.addTime != null">
add_time = #{record.addTime,jdbcType=TIMESTAMP},
</if>
......@@ -334,6 +338,7 @@
class_id = #{record.classId,jdbcType=INTEGER},
`name` = #{record.name,jdbcType=VARCHAR},
head = #{record.head,jdbcType=VARCHAR},
call_times = #{record.callTimes,jdbcType=INTEGER},
add_time = #{record.addTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
deleted = #{record.deleted,jdbcType=BIT}
......@@ -360,6 +365,9 @@
<if test="head != null">
head = #{head,jdbcType=VARCHAR},
</if>
<if test="callTimes != null">
call_times = #{callTimes,jdbcType=INTEGER},
</if>
<if test="addTime != null">
add_time = #{addTime,jdbcType=TIMESTAMP},
</if>
......@@ -382,6 +390,7 @@
class_id = #{classId,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR},
head = #{head,jdbcType=VARCHAR},
call_times = #{callTimes,jdbcType=INTEGER},
add_time = #{addTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
deleted = #{deleted,jdbcType=BIT}
......@@ -391,7 +400,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -408,24 +416,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, student_unique_id, class_id, `name`, head, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from student_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -434,7 +441,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update student_info set deleted = 1
<if test="_parameter != null">
......@@ -445,7 +451,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update student_info set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
......@@ -110,27 +110,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, student_id, class_id, point, record_time, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from student_point_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -145,11 +144,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -172,17 +166,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, student_id, class_id, point, record_time, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from student_point_info
......@@ -391,7 +384,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -408,24 +400,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, student_id, class_id, point, record_time, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from student_point_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -434,7 +425,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update student_point_info set deleted = 1
<if test="_parameter != null">
......@@ -445,7 +435,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update student_point_info set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
......@@ -110,27 +110,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, chapters_id, session_id, user_id, select_id, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from user_lesson_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -145,11 +144,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -172,17 +166,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, chapters_id, session_id, user_id, select_id, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from user_lesson_info
......@@ -391,7 +384,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -408,24 +400,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, chapters_id, session_id, user_id, select_id, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from user_lesson_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -434,7 +425,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update user_lesson_info set deleted = 1
<if test="_parameter != null">
......@@ -445,7 +435,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update user_lesson_info set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
......@@ -148,32 +148,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, username, `password`, gender, birthday, last_login_time, last_login_ip, user_level,
nickname, mobile, avatar, weixin_openid, `status`, scores, is_send_scores, is_gy,
gy_id, gy_product_name, school, card_id, wx_id, card_type_id, card_type_name, fans_num,
likes_num, journal_num, join_exercise_num, join_org_num, email, is_h5_register,
firm, duty_types_id, duty_types_name, weight, height, step_size, is_close_wx_sport,
is_audit_administrator, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from wx_user
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -188,11 +182,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -215,22 +204,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, username, `password`, gender, birthday, last_login_time, last_login_ip, user_level,
nickname, mobile, avatar, weixin_openid, `status`, scores, is_send_scores, is_gy,
gy_id, gy_product_name, school, card_id, wx_id, card_type_id, card_type_name, fans_num,
likes_num, journal_num, join_exercise_num, join_org_num, email, is_h5_register,
firm, duty_types_id, duty_types_name, weight, height, step_size, is_close_wx_sport,
is_audit_administrator, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from wx_user
......@@ -923,7 +906,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -940,29 +922,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, username, `password`, gender, birthday, last_login_time, last_login_ip, user_level,
nickname, mobile, avatar, weixin_openid, `status`, scores, is_send_scores, is_gy,
gy_id, gy_product_name, school, card_id, wx_id, card_type_id, card_type_name, fans_num,
likes_num, journal_num, join_exercise_num, join_org_num, email, is_h5_register,
firm, duty_types_id, duty_types_name, weight, height, step_size, is_close_wx_sport,
is_audit_administrator, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from wx_user
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -971,7 +947,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update wx_user set deleted = 1
<if test="_parameter != null">
......@@ -982,7 +957,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update wx_user set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
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