Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
30f3146cba3dc227a16205153eb1e06e0fc6e3dc
1 parent
d809cf37
修改排序
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
website/sqlmap/onlinereg/sqlmap-onlinereg.xml
website/sqlmap/onlinereg/sqlmap-onlinereg.xml
View file @
30f3146
...
...
@@ -29,7 +29,7 @@
UPDATE tbl_online_download SET title = :title, cover =:cover, file =:file, source = :source, source_link = :source_link, create_time = UNIX_TIMESTAMP() WHERE id = :id
</update>
<select
id=
"getDownloadListByType"
>
SELECT * FROM tbl_online_download WHERE `type` = :type LIMIT :offset, :limit
SELECT * FROM tbl_online_download WHERE `type` = :type
ORDER BY create_time DESC
LIMIT :offset, :limit
</select>
<select
id=
"getDownloadTotalByType"
>
SELECT COUNT(*) FROM tbl_online_download WHERE `type` = :type
...
...
@@ -41,6 +41,6 @@
DELETE FROM tbl_online_download WHERE id = :id
</delete>
<update
id=
"setSeller"
>
UPDATE tbl_online_seller SET #up#
,create_time = UNIX_TIMESTAMP()
WHERE id = :id
UPDATE tbl_online_seller SET #up# WHERE id = :id
</update>
</sqlMap>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment