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
b961c816
Commit
b961c816
authored
Jul 27, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改sql错误
parent
69ef63dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
BLessonRepository.java
...a/org/rcisoft/business/blesson/dao/BLessonRepository.java
+4
-4
No files found.
src/main/java/org/rcisoft/business/blesson/dao/BLessonRepository.java
View file @
b961c816
...
@@ -900,7 +900,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
...
@@ -900,7 +900,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>"
+
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or
FIND_IN_SET(blname.business_id,bl.push_lable
) "
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or
blname.l_name = #{model.lName}
) "
+
" </if>"
+
" </if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>"
+
" and bl.release_state = 2 "
+
" and bl.release_state = 2 "
+
...
@@ -962,7 +962,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
...
@@ -962,7 +962,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>"
+
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or
FIND_IN_SET(blname.business_id,bl.push_lable
) "
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or
blname.l_name = #{model.lName}
) "
+
" </if>"
+
" </if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>"
+
" and bl.release_state = 2 "
+
" and bl.release_state = 2 "
+
...
@@ -1023,7 +1023,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
...
@@ -1023,7 +1023,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" and (bl.corp_id = #{model.corpId} or blc.corp_id = #{model.corpId}) "
+
" and (bl.corp_id = #{model.corpId} or blc.corp_id = #{model.corpId}) "
+
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>"
+
" <if test=\"model.valueScreen !=null and model.valueScreen != ''\"> ${model.valueScreen} </if>"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or
FIND_IN_SET(blname.business_id,bl.push_lable
) "
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},bl.push_lable) or
blname.l_name = #{model.lName}
) "
+
" </if>"
+
" </if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and bl.lesson_type = #{model.lessonType}</if>"
+
" and bl.release_state = 2 "
+
" and bl.release_state = 2 "
+
...
@@ -1097,7 +1097,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
...
@@ -1097,7 +1097,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" where blp.del_flag != 1 and blp.flag = 1 "
+
" where blp.del_flag != 1 and blp.flag = 1 "
+
" and blp.person_id = #{model.userId} ) "
+
" and blp.person_id = #{model.userId} ) "
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" <if test=\"model.labelId !=null and model.labelId != ''\">"
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},b.push_lable) or
FIND_IN_SET(blname.business_id,b.push_lable
) "
+
" and (bll.label_id = #{model.labelId} or FIND_IN_SET(#{model.labelId},b.push_lable) or
blname.l_name = #{model.lName}
) "
+
" </if>"
+
" </if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and b.lesson_type = #{model.lessonType}</if>"
+
" <if test=\"model.lessonType !=null and model.lessonType != ''\">and b.lesson_type = #{model.lessonType}</if>"
+
" and b.release_state = 2 "
+
" and b.release_state = 2 "
+
...
...
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