Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
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
李丛阳
education
Commits
6745f48d
Commit
6745f48d
authored
Dec 17, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决-1
parent
47a84949
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
SysUserMapper.java
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
+5
-3
No files found.
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
View file @
6745f48d
...
...
@@ -261,9 +261,11 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
" and blp.train_is_sign = 0"
+
" and blp.person_id = #{userId}) trainCount, "
+
"(SELECT (SELECT count(0) FROM tm_paper tp left join tm_paper_link_branch tpb on tpb.ln_pid = tp.p_id\n"
+
"where 1=1 and tpb.ln_buid = #{userId} ) - "
+
"(select count(0) from tm_examdata where e_uid = #{userId})) as notFinishedExam "
+
"(SELECT (SELECT count(0) FROM tm_paper tp left join tm_paper_link_branch tpb on tpb.ln_pid = tp.p_id "
+
" where 1=1 and tpb.ln_buid = #{userId} ) - "
+
" (select count(0) from tm_examdata where e_uid = #{userId} "
+
"and e_pid in (SELECT p_id FROM tm_paper tp left join tm_paper_link_branch tpb on tpb.ln_pid = tp.p_id "
+
" where 1=1 and tpb.ln_buid = #{userId} ))) as notFinishedExam "
+
"</script>"
)
MyInfoDTO
queryMyLessonCount
(
CurUser
curUser
);
...
...
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