派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
src/main/java/com/qxueyou/scc/msg/service/IMsgInfoService.java
@@ -7,38 +7,38 @@
import com.qxueyou.scc.msg.model.MsgInfo;
/**
 * 消息服务
 * 消息服务
 * 
 * @author kevin
 *
 */
public interface IMsgInfoService {
   /**
    * 查询消息列表
    * 查询消息列表
    */
   List<MsgInfo> list(Short type,Integer pageSize,Integer pageNum);
   
   /**
    * 查询消息列表数量
    * 查询消息列表数量
    */
   int listCount(Short type);
   
   /**
    *  删除消息
    *  删除消息
    * @param msgIds
    * @return
    */
   Result deleteUserMsg(String [] msgIds);
   /**
    * 清空个人消息
    * 清空个人消息
    * @param type
    * @return
    */
   Result deleteAllUserMsg(Short type);
   
   /**
    *  修改已读标志位
    *  修改已读标志位
    * @param msgId
    * @return
    */
@@ -46,14 +46,14 @@
   
   
   /**
    *  修改已读标志位
    *  修改已读标志位
    * @param type
    * @return
    */
   Result updateUserAllReadStatus(Short type);
   
   /**
    * 发送消息给多个用户
    * 发送消息给多个用户
    * @param userIdsToArr
    * @param Type
    * @param msg
@@ -62,7 +62,7 @@
   public Result doSendTextMsgToUsers(String[] userIdsToArr,short Type,String msg); 
   /**
    * 发送带属性参数的消息给用户
    * 发送带属性参数的消息给用户
    * @param userIdsToArr
    * @param Type
    * @param msg
@@ -72,7 +72,7 @@
   public Result doSendTextMsgToUsers(String[] userIdsToArr,short Type,String msg,Map<String,String> attrs);
   
   /**
    * 分批发送通知
    * 分批发送通知
    * @param userIdList
    * @param Type
    * @param content
@@ -81,19 +81,19 @@
   public void doSendTextMsgToUsersLoop(List<String> userIdList,short Type,String content, Map<String,String> extra);
   
   /**
    * 获取最近的提醒消息
    * 获取最近的提醒消息
    * @return
    */
   public MsgInfo readLastRemindMsg();
   
   /**
    * 按类型查询未读消息
    * 按类型查询未读消息
    * @return
    */
   Map<String, Object> queryUnReadMsgCountByType();
   
   /**
    * 查询未读消息总数
    * 查询未读消息总数
    * @return
    */
   int queryUnReadTotalCount();