| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.yeshi.fanli.service.inter.msg.MsgOverViewsService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | @Resource |
| | | private MsgExtraService msgExtraService; |
| | | |
| | | |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void addMsgAccountDetail(MsgAccountDetail detail) throws MsgAccountDetailException { |
| | |
| | | detail.setUpdateTime(new Date()); |
| | | detail.setRead(false); |
| | | msgAccountDetailMapper.insertSelective(detail); |
| | | |
| | | |
| | | // 消息内容 |
| | | msgExtraService.addMsgExtra(detail.getId(), detail.getExtraInfo(), MsgExtra.MSG_TYPE_ACCOUNT); |
| | | // 红点 |