yujian
2019-08-29 7a29e50e7e2eefe6c0e6e1deb53690147184e078
fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserMsgReadStateServiceImpl.java
@@ -35,10 +35,10 @@
   @Resource
   private MsgMoneyDetailService msgMoneyDetailService;
   @Resource
   private MsgOtherDetailService msgOtherDetailService;
   @Resource
   private UserSystemMsgService userSystemMsgService;
@@ -103,7 +103,7 @@
      update.setUpdateTime(new Date());
      userMsgUnReadNumMapper.updateByPrimaryKeySelective(update);
   }
   @Override
   public void addOtherMsgUnReadCount(Long uid, int count) {
      UserMsgUnReadNum num = getUserMsgUnReadNum(uid);
@@ -194,6 +194,7 @@
      update.setTypeSystem(0);
      update.setTypeOrder(0);
      update.setUpdateTime(new Date());
      update.setGuanXuanReadTime(new Date());
      userMsgUnReadNumMapper.updateByPrimaryKeySelective(update);
      readAccountMsg(uid);
      readOrderMsg(uid);
@@ -214,6 +215,10 @@
      userMsgUnReadNumMapper.updateByPrimaryKeySelective(update);
   }
   @Override
   public void updateSelective(UserMsgUnReadNum num) {
      if (num != null)
         userMsgUnReadNumMapper.updateByPrimaryKeySelective(num);
   }
}