1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-10-17 21:16:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

配置mybatis-generator,使其生成映射文件时不在注释中添加日期

This commit is contained in:
2022-03-15 14:59:41 +08:00
parent 41ed62e123
commit e93b52df9b
17 changed files with 217 additions and 240 deletions

View File

@@ -5,7 +5,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="username" jdbcType="VARCHAR" property="username" />
@@ -21,18 +20,16 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
id, username, encript_pwd, nickname, user_identity, avatar, phone, weixin_third_party_auth_code,
id, username, encript_pwd, nickname, user_identity, avatar, phone, weixin_third_party_auth_code,
qq_third_party_auth_code
</sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
select
select
<include refid="Base_Column_List" />
from user_info
where id = #{id,jdbcType=INTEGER}
@@ -41,7 +38,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
delete from user_info
where id = #{id,jdbcType=INTEGER}
@@ -50,14 +46,13 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
insert into user_info (id, username, encript_pwd,
nickname, user_identity, avatar,
insert into user_info (id, username, encript_pwd,
nickname, user_identity, avatar,
phone, weixin_third_party_auth_code, qq_third_party_auth_code
)
values (#{id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{encriptPwd,jdbcType=VARCHAR},
#{nickname,jdbcType=VARCHAR}, #{userIdentity,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR},
values (#{id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{encriptPwd,jdbcType=VARCHAR},
#{nickname,jdbcType=VARCHAR}, #{userIdentity,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR}, #{weixinThirdPartyAuthCode,jdbcType=VARCHAR}, #{qqThirdPartyAuthCode,jdbcType=VARCHAR}
)
</insert>
@@ -65,7 +60,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
insert into user_info
<trim prefix="(" suffix=")" suffixOverrides=",">
@@ -131,7 +125,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
update user_info
<set>
@@ -166,7 +159,6 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Sun Mar 13 01:51:14 SGT 2022.
-->
update user_info
set username = #{username,jdbcType=VARCHAR},