派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
src/main/java/com/qxueyou/scc/operation/topic/service/ITopicService.java
@@ -7,96 +7,96 @@
import com.qxueyou.scc.operation.topic.model.TopicInfo;
/**
 * 话题服务层
 * 话题服务层
 * 
 * @author chenjunliang
 *
 */
public interface ITopicService {
   /**
    * 获取话题列表
    * 获取话题列表
    */
   Result getTopicLst(String classId, String keyword, Integer limit, Integer pageNum);
   /**
    * 获取话题内容信息
    * 获取话题内容信息
    */
   Result doTopicDetails(String topicId);
   /**
    * 话题的新增
    * 话题的新增
    */
   Result addTopicInfo(TopicInfo topicInfo);
   /**
    * 获取最新话题列表
    * 获取最新话题列表
    */
   Result lstCommonTopic(String keyword, Integer limit, Integer pageNum, String classId);
   /**
    * 获取班级论坛列表
    * 获取班级论坛列表
    */
   Result getClassForum();
   /**
    * 学习端获取班级论坛详情
    * 学习端获取班级论坛详情
    */
   Result getClassForumDetail(String classId);
   /**
    * 获取详情 获取评论列表
    * 获取详情 获取评论列表
    */
   Result getCommentLst(String topicId, Integer limit, Integer pageNum);
   /**
    * 我发布的话题
    * 我发布的话题
    */
   Result myTopic(Integer pageSize, Integer pageNum);
   /**
    * 我的回复
    * 我的回复
    */
   Result myComment(Integer pageSize, Integer pageNum);
   /**
    * 删除我的回复
    * 删除我的回复
    */
   Result deleteMycomment(String commentId);
   /**
    * 回复我的
    * 回复我的
    */
   Result getCommentLstToMe(Integer pageSize, Integer pageNum);
   /**
    * 获取我的点赞
    * 获取我的点赞
    * 
    * @return
    */
   Result getPraiseLst(Integer pageSize, Integer pageNum);
   /**
    * 话题回复评论
    * 话题回复评论
    */
   Result addComment(String content, String topicId, String commentId, String commentedId, String commentedName);
   /**
    * 点赞话题的评论
    * 点赞话题的评论
    */
   Result addPraise(String commentId, String topiId);
   /**
    * 删除话题
    * 删除话题
    */
   Result deleteTopic(String topicId);
   /**
    * 讨论统计
    * 讨论统计
    */
   Result commentDetail(String userId);
   /**
    * 获取后台管理列表
    * 获取后台管理列表
    * 
    * @param classId
    * @param pageSize
@@ -107,7 +107,7 @@
   Result getTopicLstOfAdmin(String classId, Integer pageSize, Integer pageNum, String keyword);
   /**
    * 话题的更新
    * 话题的更新
    * 
    * @param topicName
    * @param topicDesc
@@ -120,7 +120,7 @@
   Result updateTopicInfo(TopicInfo topicInfo);
   /**
    * 获取后台管理教师的话题列表
    * 获取后台管理教师的话题列表
    * 
    * @param classId
    * @param pageSize
@@ -131,7 +131,7 @@
   Result getTopicLstOfTeacher(String classId, Integer pageSize, Integer pageNum, String keyword);
   
   /**
    * 获取热门讨论
    * 获取热门讨论
    * 
    * @param classId
    * @param keyword
@@ -142,7 +142,7 @@
   Map<String, Object> getHotTopicLst(String classId, String keyword, Integer limit, Integer pageNum, int type, int scope);
   
   /**
    * 获取讨论数量
    * 获取讨论数量
    * 
    * @param keyword
    * @param classId
@@ -152,7 +152,7 @@
   public int getTopicCount(String keyword, String classId, String userId);
   
   /**
    * app-我的回复
    * app-我的回复
    * 
    * @param userId
    * @param pager
@@ -161,7 +161,7 @@
   Result appMyComment(String userId, Pager pager);
   
   /**
    * app端接口-回复我的获取列表
    * app端接口-回复我的获取列表
    * 
    * @param userId
    * @param pager
@@ -170,7 +170,7 @@
   Result commentToMe(String userId, Pager pager);
   
   /**
    * app端接口-我的点赞
    * app端接口-我的点赞
    * 
    * @param userId
    * @param pager
@@ -179,7 +179,7 @@
   Result appMyPraise(String userId, Pager pager);
   
   /**
    * app端接口-给我赞的
    * app端接口-给我赞的
    * 
    * @param userId
    * @param pager
@@ -188,7 +188,7 @@
   Result praiseToMe(String userId, Pager pager);
   
   /**
     * 获取班级讨论数量
     * 获取班级讨论数量
     * 
     * @param classId
     * @return