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
7f0c1631
Commit
7f0c1631
authored
Nov 02, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在学、关注查询修改
parent
c213a900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BLessonRepository.java
...a/org/rcisoft/business/blesson/dao/BLessonRepository.java
+2
-2
No files found.
src/main/java/org/rcisoft/business/blesson/dao/BLessonRepository.java
View file @
7f0c1631
...
...
@@ -792,7 +792,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <foreach item='item' index='index' collection='model.departs' open='(' separator=',' close=')'> #{item} </foreach>)"
+
" </if> "
+
" or (bl.business_id not in (select lesson_id from b_viewrange where del_flag != 1 and flag = 1 AND lesson_id IS NOT NULL ))) "
+
" and bl.person_number >= (select `value` from b_dictionary where type = 'ZXRS' and corp_id = #{
curUser
.corpId}) + 0 "
+
//ZXRS 在学人数
" and bl.person_number >= (select `value` from b_dictionary where type = 'ZXRS' and corp_id = #{
model
.corpId}) + 0 "
+
//ZXRS 在学人数
" <if test= \" model.viewParam !=null and model.viewParam != ''\">and (bl.lesson_name like CONCAT('%',#{model.viewParam},'%') "
+
" or su.name like CONCAT('%',#{model.viewParam},'%'))</if> "
+
" <if test= \" model.courseIds !=null and model.courseIds.size() > 0 \">and course_id in "
+
...
...
@@ -843,7 +843,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <foreach item='item' index='index' collection='model.departs' open='(' separator=',' close=')'> #{item} </foreach>)"
+
" </if> "
+
" or (bl.business_id not in (select lesson_id from b_viewrange where del_flag != 1 and flag = 1 AND lesson_id IS NOT NULL ))) "
+
" and bl.person_number >= (select `value` from b_dictionary where type = 'GZRS' and corp_id = #{
curUser
.corpId}) + 0 "
+
//GZRS 关注人数
" and bl.person_number >= (select `value` from b_dictionary where type = 'GZRS' and corp_id = #{
model
.corpId}) + 0 "
+
//GZRS 关注人数
" <if test= \" model.viewParam !=null and model.viewParam != ''\">and (bl.lesson_name like CONCAT('%',#{model.viewParam},'%') "
+
" or su.name like CONCAT('%',#{model.viewParam},'%'))</if> "
+
" <if test= \" model.courseIds !=null and model.courseIds.size() > 0 \">and course_id in "
+
...
...
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