Commit cdabdd25 authored by Ryan Loong's avatar Ryan Loong

update 表结构

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