riku
2021-09-24 4f1b7973c53b45f57e451191bfd5a3d2136a004c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package cn.flightfeather.supervision.lightshare.service
 
import cn.flightfeather.supervision.domain.entity.MeetingInfo
import cn.flightfeather.supervision.domain.entity.VMRoom
import cn.flightfeather.supervision.lightshare.vo.LedgerSubTypeVo
import cn.flightfeather.supervision.lightshare.vo.LedgerVo
import cn.flightfeather.supervision.lightshare.vo.NoticeReadStateVo
import cn.flightfeather.supervision.lightshare.vo.NotificationVo
import java.util.*
import javax.servlet.http.HttpServletResponse
import kotlin.collections.ArrayList
 
interface NotificationService {
 
    fun getNotificationUnRead(userId: String, page: Int, per_page: Int, response: HttpServletResponse): List<NotificationVo>
 
    fun updateReadState(userId: String, readStates: List<NoticeReadStateVo>)
 
    fun getNotificationText(notificationId: String): String
 
    fun getUnReadNoticeNum(userId: String): Int
 
    /**
     * 推送会议发布通知
     */
    fun pushMeetingReleaseNotification(meetingVo: MeetingInfo, roomVo: VMRoom?, userId: String, title: String, body: String)
 
    fun releaseNotice(userId: String, noticeVo: NotificationVo): Boolean
}