Commit 1fd0993f authored by zhangqingle's avatar zhangqingle

修改接口

parent 986fd7a4
......@@ -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 " +
......
......@@ -94,7 +94,7 @@ global:
eduJob:
taskInterval: 0 0/5 * * * ?
trainBegin: flase
trainBegin: false
sec: 300 #培训开始前 多少秒 之内的报名人员设置为缺勤
libreoffice:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment