feat: 手机端我的书架页面适配

This commit is contained in:
xiongxiaoyang
2023-05-13 23:40:54 +08:00
parent c63b4d617e
commit 18f5fbf508
7 changed files with 293 additions and 5 deletions

View File

@ -4,7 +4,8 @@
<mapper namespace="com.java2nb.novel.mapper.FrontUserBookshelfMapper">
<select id="listBookShelf" parameterType="long" resultType="com.java2nb.novel.vo.BookShelfVO">
select t1.book_id,t1.pre_content_id,t2.book_name,t2.cat_id,t2.cat_name,t2.last_index_id,t2.last_index_name,t2.last_index_update_time
select t1.book_id,t1.pre_content_id,t2.book_name,t2.cat_id,t2.cat_name,t2.last_index_id,t2.last_index_name,t2.last_index_update_time,
t2.pic_url,t2.author_id,t2.author_name,t2.book_desc,t2.book_status
from user_bookshelf t1 inner join book t2 on t1.book_id = t2.id and t1.user_id = #{userId}
order by t1.create_time desc