From fc0cc7e808f9228b39b1e6b9d29c5417f41dbcc4 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期五, 24 五月 2019 16:52:02 +0800 Subject: [PATCH] 删除 老版动态查询商品 关联yeshi_ec_taobao_goods 的sql --- fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserMsgReadStateServiceImpl.java | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserMsgReadStateServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserMsgReadStateServiceImpl.java index 302fbd2..4e20a38 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserMsgReadStateServiceImpl.java +++ b/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); + } } -- Gitblit v1.8.0