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
1fd0993f
Commit
1fd0993f
authored
Nov 01, 2019
by
zhangqingle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口
parent
986fd7a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
BLessonRepository.java
...a/org/rcisoft/business/blesson/dao/BLessonRepository.java
+4
-4
application-mt.yml
src/main/resources/application-mt.yml
+1
-1
No files found.
src/main/java/org/rcisoft/business/blesson/dao/BLessonRepository.java
View file @
1fd0993f
...
...
@@ -176,7 +176,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <foreach item='item' index='index' collection='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') + 0 "
+
//ZXRS 在学人数
" and bl.person_number >= (select `value` from b_dictionary where type = 'ZXRS'
and corp_id = #{curUser.corpId}
) + 0 "
+
//ZXRS 在学人数
" order by bl.person_number desc,bl.release_date desc "
+
"</script>"
)
@ResultMap
(
value
=
"BaseResultMap"
)
...
...
@@ -264,7 +264,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
" <foreach item='item' index='index' collection='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') + 0 "
+
//GZRS 关注人数
" and bl.person_number >= (select `value` from b_dictionary where type = 'GZRS'
and corp_id = #{curUser.corpId}
) + 0 "
+
//GZRS 关注人数
" order by bl.collect_number desc,bl.release_date desc "
+
"</script>"
)
@ResultMap
(
value
=
"BaseResultMap"
)
...
...
@@ -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') + 0 "
+
//ZXRS 在学人数
" and bl.person_number >= (select `value` from b_dictionary where type = 'ZXRS'
and corp_id = #{curUser.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') + 0 "
+
//GZRS 关注人数
" and bl.person_number >= (select `value` from b_dictionary where type = 'GZRS'
and corp_id = #{curUser.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 "
+
...
...
src/main/resources/application-mt.yml
View file @
1fd0993f
...
...
@@ -94,7 +94,7 @@ global:
eduJob
:
taskInterval
:
0 0/5 * * * ?
trainBegin
:
f
la
se
trainBegin
:
f
al
se
sec
:
300
#培训开始前 多少秒 之内的报名人员设置为缺勤
libreoffice
:
...
...
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