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
4bd9d2b3
Commit
4bd9d2b3
authored
Jul 16, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改sql查询语句
parent
2e842456
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 @
4bd9d2b3
...
@@ -221,8 +221,9 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
...
@@ -221,8 +221,9 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" and br.corp_id = #{curUser.corpId} "
+
" and br.corp_id = #{curUser.corpId} "
+
" left join b_recommend_son brs on br.business_id = brs.recommend_id "
+
" left join b_recommend_son brs on br.business_id = brs.recommend_id "
+
// " left join b_course bc on bc.business_id = bl.course_id " +
// " left join b_course bc on bc.business_id = bl.course_id " +
" left join b_lesson_corp blc on blc.lesson_id = bl.business_id and bl.corp_id = '###' "
+
" where bl.del_flag != 1 and bl.flag = 1 "
+
" where bl.del_flag != 1 and bl.flag = 1 "
+
" and
bl.corp_id = #{curUser.corpId}
"
+
" and
(bl.corp_id = #{curUser.corpId} or blc.corp_id = #{curUser.corpId})
"
+
" and bl.release_state = 2 "
+
" and bl.release_state = 2 "
+
" and ((brs.type = 0 and brs.target_id = #{curUser.userId}) "
+
" and ((brs.type = 0 and brs.target_id = #{curUser.userId}) "
+
" <if test=\"departs != null and departs.size() > 0 \"> "
+
" <if test=\"departs != null and departs.size() > 0 \"> "
+
...
...
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