|
@@ -81,10 +81,10 @@ public class BomanMessageReceiveServiceImpl implements IBomanMessageReceiveServi
|
|
//已读
|
|
//已读
|
|
read = bomanMessageReceive.stream().filter(e -> e.get("status") == "Y").count();
|
|
read = bomanMessageReceive.stream().filter(e -> e.get("status") == "Y").count();
|
|
//今日收文
|
|
//今日收文
|
|
- todayReceipt = bomanMessageReceive.stream().filter(e -> DateUtils.formatDate(e.get("send_message_time"), DateUtils.YYYY_MM_DD).equals(DateUtils.getDate())).count();
|
|
|
|
|
|
+ todayReceipt = bomanMessageReceive.stream().filter(e -> DateUtils.formatDate(e.get("send_message_time").toString(), DateUtils.YYYY_MM_DD).equals(DateUtils.getDate())).count();
|
|
}
|
|
}
|
|
|
|
|
|
- Map<String,Long> map = new HashMap<>();
|
|
|
|
|
|
+ Map<String,Long> map = new HashMap<>(4);
|
|
map.put("toDaySend", toDaySend);
|
|
map.put("toDaySend", toDaySend);
|
|
map.put("unread", unread);
|
|
map.put("unread", unread);
|
|
map.put("read", read);
|
|
map.put("read", read);
|