|
@@ -56,6 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN fs_user_course_video on fs_user_course_video.video_id = fs_course_watch_comment.video_id
|
|
|
</if>
|
|
|
<where>
|
|
|
+ <if test="courseId != null "> and fs_course_watch_comment.course_id = #{courseId}</if>
|
|
|
+ <if test="videoId != null "> and fs_course_watch_comment.video_id = #{videoId}</if>
|
|
|
<if test="nickName != null and nickName != '' ">and fs_user.nick_name like concat('%', #{nickName}, '%')</if>
|
|
|
<if test="isAll != null and isAll == true and keywords != null and keywords !='' ">
|
|
|
AND (fs_user.nickname LIKE concat('%',#{keywords},'%')
|