Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
学
学习精灵中小学版PC
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张虎林
学习精灵中小学版PC
Commits
c622de2c
Commit
c622de2c
authored
Jan 24, 2024
by
wwka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联表查询定义别名
parent
3631f299
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
BookDal.cpp
ReaderFrame/BookDal.cpp
+1
-1
No files found.
ReaderFrame/BookDal.cpp
View file @
c622de2c
...
...
@@ -1589,7 +1589,7 @@ std::vector<Book_ManagerInfo> CBookDal::GetUserBookLocalManagerInfo(CString user
//sql.Format(_T("
select
book_id
,
IsMoved
,
lastpage
,
order_index
,
update_time
,
isHistory
,
active_name
,
owner
from
BookManager
where
user_id
=%
s
and
isMoved
=
1
order
by
order_index
"),userId);
sql.Format(_T("
select
A
.
book_id
,
A
.
IsMoved
,
A
.
lastpage
,
A
.
order_index
,
A
.
update_time
,
A
.
isHistory
,
A
.
active_name
,
A
.
owner
\
,
B
.
id
,
B
.
bookId
,
B
.
bookName
,
B
.
catalogId
,
B
.
bookCoverPath
,
B
.
bookTextPath
,
B
.
bookType
,
B
.
bookState
,
B
.
recentNo
,
B
.
exist
,
B
.
coursecode
,
B
.
downloadurl
,
B
.
downloadsize
,
B
.
filesize
,
B
.
orderNo
,
B
.
courseCode
,
B
.
coverDigest
,
B
.
fileDigest
,
B
.
applicableTerm
,
B
.
startPage
,
B
.
updatetime
,
B
.
year
,
B
.
diandu_URL
,
B
.
exercise_URL
,
B
.
grade
,
B
.
securityKey
,
B
.
shortName
,
B
.
checkstatus
,
B
.
activtype
,
B
.
owner
,
B
.
author
,
B
.
fromuser
\
from
BookManager
A
LEFT
JOIN
BookInfo
B
ON
A
.
book_id
=
B
.
bookId
where
user_id
=%
s
and
isMoved
=
1
order
by
A
.
order_index
"),userId);
from
BookManager
A
LEFT
JOIN
BookInfo
B
ON
A
.
book_id
=
B
.
bookId
where
A
.
user_id
=%
s
and
A
.
isMoved
=
1
order
by
A
.
order_index
"),userId);
}
pHelper->ExecuteQueryTable(sql, dt);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment