Commit d2c889aa authored by 王淑君's avatar 王淑君

修改备注

parent cdb6dfe6
...@@ -15,7 +15,7 @@ import java.util.Map; ...@@ -15,7 +15,7 @@ import java.util.Map;
public interface BCourseRepository extends BaseMapper<BCourse> { public interface BCourseRepository extends BaseMapper<BCourse> {
@Select("<script>SELECT * FROM b_course where del_flag != 1 and flag = 1 " + @Select("<script>SELECT DISTINCT * FROM b_course where del_flag != 1 and flag = 1 " +
"<if test=\"cName!=null and cName != ''\"> and c_name like CONCAT('%',#{cName},'%') </if>" + "<if test=\"cName!=null and cName != ''\"> and c_name like CONCAT('%',#{cName},'%') </if>" +
"ORDER BY sort</script>") "ORDER BY sort</script>")
@ResultMap(value = "ChildListResultMap") @ResultMap(value = "ChildListResultMap")
......
...@@ -30,7 +30,7 @@ import java.util.List; ...@@ -30,7 +30,7 @@ import java.util.List;
/** /**
* Created by on 2019-9-25 9:03:09. * Created by on 2019-9-25 9:03:09.
*/ */
@Api(tags = "8 章节") @Api(tags = "8 课程评论")
@RestController @RestController
@RequestMapping("bdiscuss") @RequestMapping("bdiscuss")
public class BDiscussController extends PaginationController<BDiscuss> { public class BDiscussController extends PaginationController<BDiscuss> {
......
...@@ -52,5 +52,4 @@ public interface BDiscussService { ...@@ -52,5 +52,4 @@ public interface BDiscussService {
List<BDiscussDto> getDiscussByLessonId(String lessonId,String corpId); List<BDiscussDto> getDiscussByLessonId(String lessonId,String corpId);
} }
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