| | |
| | |
|
| | | @Resource
|
| | | private MsgMoneyDetailService msgMoneyDetailService;
|
| | | |
| | |
|
| | | @Resource
|
| | | private MsgOtherDetailService msgOtherDetailService;
|
| | | |
| | |
|
| | | @Resource
|
| | | private UserSystemMsgService userSystemMsgService;
|
| | |
|
| | |
| | | update.setUpdateTime(new Date());
|
| | | userMsgUnReadNumMapper.updateByPrimaryKeySelective(update);
|
| | | }
|
| | | |
| | |
|
| | | @Override
|
| | | public void addOtherMsgUnReadCount(Long uid, int count) {
|
| | | UserMsgUnReadNum num = getUserMsgUnReadNum(uid);
|
| | |
| | | update.setTypeOrder(0);
|
| | | update.setTypeScore(0);
|
| | | update.setTypeSystem(0);
|
| | | update.setTypeOrder(0);
|
| | | update.setUpdateTime(new Date());
|
| | | update.setGuanXuanReadTime(new Date());
|
| | | userMsgUnReadNumMapper.updateByPrimaryKeySelective(update);
|
| | | readAccountMsg(uid);
|
| | | readOrderMsg(uid);
|
| | | readMoneyMsg(uid);
|
| | | readInviteMsg(uid);
|
| | | readUserSystemMsg(uid);
|
| | | readOtherMsg(uid);
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | userMsgUnReadNumMapper.updateByPrimaryKeySelective(update);
|
| | | }
|
| | |
|
| | |
|
| | | @Override
|
| | | public void updateSelective(UserMsgUnReadNum num) {
|
| | | if (num != null)
|
| | | userMsgUnReadNumMapper.updateByPrimaryKeySelective(num);
|
| | | }
|
| | |
|
| | | }
|