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
61b8610a
Commit
61b8610a
authored
Jul 09, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: web端课程显示平台推荐的课程
parent
7821acbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
BLessonRepository.java
...a/org/rcisoft/business/blesson/dao/BLessonRepository.java
+2
-1
No files found.
src/main/java/org/rcisoft/business/blesson/dao/BLessonRepository.java
View file @
61b8610a
...
@@ -1078,6 +1078,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
...
@@ -1078,6 +1078,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
"u1.name AS createByName "
+
"u1.name AS createByName "
+
"FROM "
+
"FROM "
+
"b_lesson les "
+
"b_lesson les "
+
"left join b_lesson_corp blc on blc.lesson_id = les.business_id "
+
"LEFT JOIN b_course b1 ON b1.business_id = les.course_id "
+
"LEFT JOIN b_course b1 ON b1.business_id = les.course_id "
+
"AND b1.corp_id = #{corpId} "
+
"AND b1.corp_id = #{corpId} "
+
"and b1.del_flag != 1 and b1.flag = 1 "
+
"and b1.del_flag != 1 and b1.flag = 1 "
+
...
@@ -1092,7 +1093,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
...
@@ -1092,7 +1093,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
"and u1.del_flag != 1 and u1.flag = 1 "
+
"and u1.del_flag != 1 and u1.flag = 1 "
+
"WHERE 1=1 "
+
"WHERE 1=1 "
+
"and les.del_flag != 1 and les.flag = 1 "
+
"and les.del_flag != 1 and les.flag = 1 "
+
"AND
les.corp_id = #{corpId}
"
+
"AND
(les.corp_id = #{corpId} or (les.corp_id = '###' and blc.corp_id = #{corpId}))
"
+
"<if test='!isAdmin'>"
+
"<if test='!isAdmin'>"
+
"AND les.create_by IN"
+
"AND les.create_by IN"
+
"<foreach item='item' index='index' collection='CurUserSet' open='(' close=')' separator=','> "
+
"<foreach item='item' index='index' collection='CurUserSet' open='(' close=')' separator=','> "
+
...
...
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