|
@@ -26,7 +26,7 @@ |
|
@@ -26,7 +26,7 @@ |
26
|
:source_link, :type, UNIX_TIMESTAMP())
|
26
|
:source_link, :type, UNIX_TIMESTAMP())
|
27
|
</insert>
|
27
|
</insert>
|
28
|
<update id="setDownloadInfoById">
|
28
|
<update id="setDownloadInfoById">
|
29
|
- UPDATE tbl_online_download SET title = :title, cover =:cover, file =:file, source = :source, source_link = :source_link, create_time = UNIX_TIMESTAMP() WHERE id = :id
|
29
|
+ UPDATE tbl_online_download SET title = :title, cover =:cover, file =:file, source = :source, source_link = :source_link WHERE id = :id
|
30
|
</update>
|
30
|
</update>
|
31
|
<select id="getDownloadListByType">
|
31
|
<select id="getDownloadListByType">
|
32
|
SELECT * FROM tbl_online_download WHERE `type` = :type ORDER BY create_time DESC LIMIT :offset, :limit
|
32
|
SELECT * FROM tbl_online_download WHERE `type` = :type ORDER BY create_time DESC LIMIT :offset, :limit
|