|
|
@ -63,7 +63,7 @@ public class MessageController { |
|
|
|
|
|
|
|
|
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
param.put("userId", userSession.getUser().getId()); |
|
|
|
param.put("userId", userSession.getUser().getId()); |
|
|
|
param.put("status", MessageStatusEnum.status2.getStatus()); |
|
|
|
param.put("msgStatus", MessageStatusEnum.status2.getStatus()); |
|
|
|
param.put("type", type); |
|
|
|
param.put("type", type); |
|
|
|
|
|
|
|
|
|
|
|
PageHelper.startPage(pageNum,pageSize); |
|
|
|
PageHelper.startPage(pageNum,pageSize); |
|
|
@ -85,7 +85,7 @@ public class MessageController { |
|
|
|
for (MessageTypeEnum type : MessageTypeEnum.values()) { |
|
|
|
for (MessageTypeEnum type : MessageTypeEnum.values()) { |
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
param.put("userId", userSession.getUser().getId()); |
|
|
|
param.put("userId", userSession.getUser().getId()); |
|
|
|
param.put("status", MessageStatusEnum.status2.getStatus()); |
|
|
|
param.put("msgStatus", MessageStatusEnum.status2.getStatus()); |
|
|
|
param.put("type", type.getType()); |
|
|
|
param.put("type", type.getType()); |
|
|
|
param.put("readStatus", 0); |
|
|
|
param.put("readStatus", 0); |
|
|
|
List<Map<String, Object>> list = messageService.getUserMsgList(param); |
|
|
|
List<Map<String, Object>> list = messageService.getUserMsgList(param); |
|
|
|