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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
| package com.yeshi.fanli.service.inter.msg;
|
| import com.yeshi.fanli.entity.bus.msg.MsgDeviceReadState;
|
| /**
| * 设备消息阅读状态服务
| *
| * @author Administrator
| *
| */
| public interface MsgDeviceReadStateService {
|
| /**
| * 查询对象
| *
| * @param type
| * @param device
| * @param platform
| * @return
| */
| public MsgDeviceReadState getByDeviceAndPlatformAndType(String type, String device, int platform);
|
| /**
| * 设置设备消息已读
| *
| * @param type
| * @param device
| * @param platform
| */
| public void setDeviceMsgRead(String type, String device, int platform);
|
| /**
| * 添加设备未读消息
| *
| * @param type
| * @param device
| * @param platform
| * @param msgCount
| */
| public void addUnreadDeviceMsg(String type, String device, int platform, int msgCount);
|
| /**
| * 设置所有消息已读
| *
| * @param device
| * @param platform
| */
| public void setAllMsgRead(String device, int platform);
|
| /**
| * 初始化读取状态
| *
| * @param device
| * @param platform
| */
| public void initReadState(String device, int platform, String type);
|
| }
|
|