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
323e0dbc
Commit
323e0dbc
authored
Jul 27, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改sql
parent
d7df7fb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
BLessonRepository.java
...a/org/rcisoft/business/blesson/dao/BLessonRepository.java
+8
-2
No files found.
src/main/java/org/rcisoft/business/blesson/dao/BLessonRepository.java
View file @
323e0dbc
...
...
@@ -1382,10 +1382,16 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" left join b_viewrange bv on bl.business_id = bv.lesson_id "
+
" and bv.del_flag != 1 and bv.flag = 1 "
+
" left join b_viewrange_son bvs on bv.business_id = bvs.viewrange_id "
+
" left join b_lesson_label bll on bl.business_id = bll.lesson_id "
+
" left join b_label blname on blname.business_id = bll.label_id or FIND_IN_SET(blname.business_id,bl.push_lable)"
+
" where bl.del_flag != 1 and bl.flag = 1 "
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or blname.l_name = #{model.lName}) "
+
" </if>"
+
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">and bl.push_lable like CONCAT('%',#{model.labelId},'%') </if>"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" and bl.push_lable like CONCAT('%',#{model.labelId},'%') "
+
" </if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>"
+
" and bl.release_state = 2 "
+
" and ((bvs.type = 0 and bvs.target_id = #{model.userId}) "
+
...
...
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