mirror of
https://github.com/201206030/novel.git
synced 2025-07-09 22:26:39 +00:00
新增加入书架的书籍下次可继续上次阅读记录阅读
This commit is contained in:
@ -178,4 +178,15 @@
|
||||
book_id = #{bookId,jdbcType=BIGINT}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
|
||||
<update id="updateNewstIndex">
|
||||
update user_ref_book
|
||||
set index_num = #{indexNum}
|
||||
where book_id = #{bookId} and user_id = #{userId}
|
||||
</update>
|
||||
|
||||
<select id="queryBookIndexNumber" resultType="java.lang.Integer">
|
||||
select index_num from user_ref_book
|
||||
where book_id = #{bookId} and user_id = #{userId}
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user