|
@@ -149,6 +149,9 @@ public interface FsUserCourseMapper
|
|
|
"<if test = ' maps.isShow !=null '> " +
|
|
|
"and c.is_show = #{maps.isShow} " +
|
|
|
"</if>" +
|
|
|
+ "<if test ='maps.companyIdsList != null and maps.companyIdsList.length !=0 '> " +
|
|
|
+ " and <foreach collection='maps.companyIdsList' item='item' index='index' open='( 1=2 ' separator='' close=')'> or find_in_set( #{item} , REGEXP_REPLACE ( c.company_ids, '[\"\\\\[\\\\]]', '' ) ) </foreach> " +
|
|
|
+ "</if> " +
|
|
|
" order by c.sort, c.course_id "+
|
|
|
"</script>"})
|
|
|
List<FsUserCourseListPVO> selectFsUserCourseListPVO(@Param("maps") FsUserCourse param);
|
|
@@ -217,6 +220,7 @@ public interface FsUserCourseMapper
|
|
|
"<if test = ' maps.isShow !=null '> " +
|
|
|
"and c.is_show = #{maps.isShow} " +
|
|
|
"</if>" +
|
|
|
+
|
|
|
" order by c.sort,c.course_id "+
|
|
|
"</script>"})
|
|
|
List<FsUserCourseListPVO> selectFsUserCourseListCompanyPVO(@Param("maps")FsUserCourseParam fsUserCourse);
|