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

添加查询书籍;BookDO映射文件更新;DOMapper添加@Repository注解;添加自定义业务异常处理;添加Validation验证

This commit is contained in:
2022-03-15 17:31:12 +08:00
parent e93b52df9b
commit c2079f9064
22 changed files with 1269 additions and 41 deletions

View File

@@ -21,7 +21,7 @@
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
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">
@@ -29,7 +29,7 @@
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
select
<include refid="Base_Column_List" />
from user_info
where id = #{id,jdbcType=INTEGER}
@@ -47,12 +47,12 @@
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
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>