Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resource_api
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
高宇
tea_resource_api
Commits
17cab083
Commit
17cab083
authored
Aug 22, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了bug
parent
45aae6ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
BLessonMapper.xml
...esources/mapper/business/blesson/mapper/BLessonMapper.xml
+4
-0
No files found.
src/main/resources/mapper/business/blesson/mapper/BLessonMapper.xml
View file @
17cab083
...
...
@@ -247,6 +247,7 @@
LEFT JOIN `pc_role_user` pru ON su.business_id = pru.user_id
AND su.del_flag = 0
AND su.flag = 1
LEFT JOIN pc_role pr ON pru.pc_role_id = pr.business_id
LEFT JOIN `pc_role_lesson` prl ON pru.pc_role_id = prl.pc_role_id AND prl.del_flag = 0
RIGHT JOIN `tea_lesson_new` tln ON tln.business_id = prl.lesson_id
AND tln.del_flag = 0
...
...
@@ -290,6 +291,7 @@
AND sut.flag = 1
WHERE
su.business_id = #{pcBLessonQuery.userId}
AND pr.del_flag = 0
GROUP BY tln.business_id
ORDER BY
tln.create_date DESC
...
...
@@ -551,6 +553,7 @@
LEFT JOIN `pc_role_user` pru ON su.business_id = pru.user_id
AND su.del_flag = 0
AND su.flag = 1
LEFT JOIN pc_role pc ON pru.pc_role_id = pc.business_id
LEFT JOIN `pc_role_lesson` prl ON pru.pc_role_id = prl.pc_role_id AND prl.del_flag = 0
LEFT JOIN `tea_lesson_new` tln ON tln.business_id = prl.lesson_id
AND tln.del_flag = 0
...
...
@@ -586,6 +589,7 @@
AND teep.del_flag = 0
AND teep.flag = 1
WHERE su.business_id = #{userId}
AND pc.del_flag = 0
ORDER BY tln.create_date DESC) fullTable
WHERE fullTable.business_id IS NOT NULL)
UNION ALL
...
...
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