mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
修复书籍下载链接全返回读一本书下载链接问题
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM `file_object_info`
|
||||
WHERE file_id IN (SELECT id AS file_id FROM `file_info` WHERE book_id = 1)
|
||||
WHERE file_id IN (SELECT id AS file_id FROM `file_info` WHERE book_id = #{bookId})
|
||||
AND upload_status = 'SUCCESS'
|
||||
</select>
|
||||
<select id="selectByFileId" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
|
Reference in New Issue
Block a user