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
9637594b
Commit
9637594b
authored
Oct 26, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
未考试数
parent
aebf5b1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
SysUserMapper.java
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
+5
-12
No files found.
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
View file @
9637594b
...
@@ -212,9 +212,7 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
...
@@ -212,9 +212,7 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
" and bl.del_flag != 1 AND bl.flag = 1 "
+
" and bl.del_flag != 1 AND bl.flag = 1 "
+
" and blp.is_finish = 2 "
+
" and blp.is_finish = 2 "
+
" and bl.release_state = 2 "
+
" and bl.release_state = 2 "
+
" and bl.lesson_type = '0' "
+
" and bl.lesson_type = 0 "
+
// " and bl.corp_id = #{corpId} "+
" and blp.person_id = #{userId}) lessonCount, "
+
" and blp.person_id = #{userId}) lessonCount, "
+
...
@@ -223,17 +221,12 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
...
@@ -223,17 +221,12 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
" where blp.del_flag != 1 AND blp.flag = 1 "
+
" where blp.del_flag != 1 AND blp.flag = 1 "
+
" and bl.del_flag != 1 AND bl.flag = 1 "
+
" and bl.del_flag != 1 AND bl.flag = 1 "
+
" and bl.release_state = 2 "
+
" and bl.release_state = 2 "
+
" and blp.train_is_sign = 0"
+
" and blp.person_id = #{userId}) trainCount, "
+
" and blp.person_id = #{userId}) trainCount, "
+
" (select count(1) from "
+
"(SELECT (SELECT count(0) FROM tm_paper tp left join tm_paper_link_branch tpb on tpb.ln_pid = tp.p_id\n"
+
" b_lesson_person blp left join b_lesson bl on blp.lesson_id = bl.business_id "
+
"where 1=1 and tpb.ln_buid = #{userId} and tp.p_endtime > now()) - "
+
" where blp.del_flag != 1 AND blp.flag = 1 "
+
"(select count(0) from tm_examdata where e_uid = #{userId})) as notFinishedExam "
+
" and bl.del_flag != 1 AND bl.flag = 1 "
+
" and bl.lesson_type = '1' "
+
// " and bl.corp_id = #{corpId} "+
" and blp.person_id = #{userId}) notFinishedExam "
+
"</script>"
)
"</script>"
)
MyInfoDTO
queryMyLessonCount
(
CurUser
curUser
);
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