1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-13 04:01:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

用户后台 我的收藏功能完成

This commit is contained in:
2022-04-07 11:32:34 +08:00
parent af88f65679
commit 049f9d85d5
7 changed files with 115 additions and 18 deletions

View File

@@ -288,10 +288,8 @@
</update>
<select id="selectFavoritesListByUserId" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
select
book_info.id, book_name, category_id, publishing_house, `language`, copyright, is_delete, thumbnail
book_info.id, book_name, category_id, publishing_house, `language`, copyright, is_delete, thumbnail, `author`
<!--<include refid="Base_Column_List" />-->
,
<include refid="Blob_Column_List" />,
from user_book_favorites_relation
left join book_info on user_book_favorites_relation.book_id = book_info.id
where user_book_favorites_relation.user_id = #{userId,jdbcType=INTEGER}