mirror of
https://github.com/201206030/novel-plus.git
synced 2026-01-30 05:59:44 +08:00
fix(novel-admin): 修复小说推荐列表分页显示异常
推荐小说不存在时,分页会显示异常
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
</select>
|
||||
|
||||
<select id="count" resultType="int">
|
||||
select count(*) from book_setting t1 inner join book t2 on t1.book_id = t2.id
|
||||
select count(*) from book_setting t1
|
||||
<where>
|
||||
<if test="id != null and id != ''">and t1.id = #{id}</if>
|
||||
<if test="bookId != null and bookId != ''">and t1.book_id = #{bookId}</if>
|
||||
|
||||
Reference in New Issue
Block a user