From 27921d0aadbe9e3754ccd8498e893eb8d73c1269 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 27 May 2021 17:37:32 +0800
Subject: [PATCH] modify

---
 src/main/java/com/xcong/excoin/rabbit/consumer/ChatConsumer.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/rabbit/consumer/ChatConsumer.java b/src/main/java/com/xcong/excoin/rabbit/consumer/ChatConsumer.java
index fffc824..0507e7b 100644
--- a/src/main/java/com/xcong/excoin/rabbit/consumer/ChatConsumer.java
+++ b/src/main/java/com/xcong/excoin/rabbit/consumer/ChatConsumer.java
@@ -50,7 +50,7 @@
             OtcMsgUserListEntity from = new OtcMsgUserListEntity();
             from.setMemberId(toId);
             from.setTargetId(fromId);
-            from.setIsRead(OtcMsgUserListEntity.ISREAD_TWO);
+            from.setIsRead(OtcMsgUserListEntity.ISREAD_ONE);
             from.setLastMsgTime(new Date());
             otcMsgUserListDao.insert(from);
         }
@@ -61,7 +61,7 @@
             OtcMsgUserListEntity from = new OtcMsgUserListEntity();
             from.setMemberId(toId);
             from.setTargetId(fromId);
-            from.setIsRead(OtcMsgUserListEntity.ISREAD_ONE);
+            from.setIsRead(OtcMsgUserListEntity.ISREAD_TWO);
             from.setLastMsgTime(new Date());
             otcMsgUserListDao.insert(from);
         } else {
@@ -71,7 +71,7 @@
                 toList.setLastMsgTime(new Date());
                 otcMsgUserListDao.updateById(toList);
             } else {
-                toList.setIsRead(OtcMsgUserListEntity.ISREAD_TWO);
+                toList.setIsRead(OtcMsgUserListEntity.ISREAD_ONE);
                 toList.setLastMsgTime(new Date());
                 otcMsgUserListDao.updateById(toList);
             }

--
Gitblit v1.9.1