Commit cdabdd25 authored by Ryan Loong's avatar Ryan Loong

update 表结构

parent 50b252fc
......@@ -114,7 +114,7 @@
<dependency>
<groupId>com.itfsw</groupId>
<artifactId>mybatis-generator-plugin</artifactId>
<version>1.2.12</version>
<version>1.3.10</version>
</dependency>
</dependencies>
</plugin>
......
......@@ -51,7 +51,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectOneByExample(ClassInfoExample example);
......@@ -60,7 +59,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectOneByExampleSelective(@Param("example") ClassInfoExample example, @Param("selective") ClassInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<ClassInfo> selectByExampleSelective(@Param("example") ClassInfoExample example, @Param("selective") ClassInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") ClassInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
ClassInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") ClassInfoExample example);
......@@ -153,7 +147,6 @@ public interface ClassInfoMapper {
* This method corresponds to the database table class_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectOneByExample(CourseInitTestExample example);
......@@ -60,7 +59,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectOneByExampleSelective(@Param("example") CourseInitTestExample example, @Param("selective") CourseInitTest.Column ... selective);
......@@ -69,7 +67,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<CourseInitTest> selectByExampleSelective(@Param("example") CourseInitTestExample example, @Param("selective") CourseInitTest.Column ... selective);
......@@ -86,7 +83,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") CourseInitTest.Column ... selective);
......@@ -103,7 +99,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
CourseInitTest selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") CourseInitTestExample example);
......@@ -153,7 +147,6 @@ public interface CourseInitTestMapper {
* This method corresponds to the database table course_init_test
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectOneByExample(LessonInfoExample example);
......@@ -60,7 +59,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectOneByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LessonInfo> selectByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LessonInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LessonInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LessonInfoExample example);
......@@ -153,7 +147,6 @@ public interface LessonInfoMapper {
* This method corresponds to the database table lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectOneByExample(StudentInfoExample example);
......@@ -60,7 +59,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectOneByExampleSelective(@Param("example") StudentInfoExample example, @Param("selective") StudentInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<StudentInfo> selectByExampleSelective(@Param("example") StudentInfoExample example, @Param("selective") StudentInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") StudentInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") StudentInfoExample example);
......@@ -153,7 +147,6 @@ public interface StudentInfoMapper {
* This method corresponds to the database table student_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectOneByExample(StudentPointInfoExample example);
......@@ -60,7 +59,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectOneByExampleSelective(@Param("example") StudentPointInfoExample example, @Param("selective") StudentPointInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<StudentPointInfo> selectByExampleSelective(@Param("example") StudentPointInfoExample example, @Param("selective") StudentPointInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") StudentPointInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
StudentPointInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") StudentPointInfoExample example);
......@@ -153,7 +147,6 @@ public interface StudentPointInfoMapper {
* This method corresponds to the database table student_point_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectOneByExample(UserLessonInfoExample example);
......@@ -60,7 +59,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectOneByExampleSelective(@Param("example") UserLessonInfoExample example, @Param("selective") UserLessonInfo.Column ... selective);
......@@ -69,7 +67,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<UserLessonInfo> selectByExampleSelective(@Param("example") UserLessonInfoExample example, @Param("selective") UserLessonInfo.Column ... selective);
......@@ -86,7 +83,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") UserLessonInfo.Column ... selective);
......@@ -103,7 +99,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
UserLessonInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") UserLessonInfoExample example);
......@@ -153,7 +147,6 @@ public interface UserLessonInfoMapper {
* This method corresponds to the database table user_lesson_info
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectOneByExample(WxUserExample example);
......@@ -60,7 +59,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectOneByExampleSelective(@Param("example") WxUserExample example, @Param("selective") WxUser.Column ... selective);
......@@ -69,7 +67,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<WxUser> selectByExampleSelective(@Param("example") WxUserExample example, @Param("selective") WxUser.Column ... selective);
......@@ -86,7 +83,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") WxUser.Column ... selective);
......@@ -103,7 +99,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
WxUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") WxUserExample example);
......@@ -153,7 +147,6 @@ public interface WxUserMapper {
* This method corresponds to the database table wx_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -107,27 +107,26 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<if test="example.distinct">
<if test="example != null and example.distinct">
distinct
</if>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, class_name, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from class_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
</select>
......@@ -142,11 +141,6 @@
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
......@@ -169,17 +163,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, class_name, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from class_info
......@@ -344,7 +337,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<include refid="Base_Column_List" />
......@@ -361,24 +353,23 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.escapedColumnName}
${column.aliasedEscapedColumnName}
</foreach>
</when>
<otherwise>
id, class_name, add_time, update_time, deleted
<include refid="Base_Column_List" />
</otherwise>
</choose>
from class_info
<if test="_parameter != null">
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
<if test="example != null and example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
......@@ -387,7 +378,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update class_info set deleted = 1
<if test="_parameter != null">
......@@ -398,7 +388,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update class_info set deleted = 1
where id = #{id,jdbcType=INTEGER}
......
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