| | |
| | | package com.ks.daylucky; |
| | | |
| | | import com.ks.daylucky.dao.UserMsgDao; |
| | | import com.ks.daylucky.mapper.*; |
| | | import com.ks.daylucky.pojo.DO.Announcement; |
| | | import com.ks.daylucky.pojo.DO.UserMsg; |
| | |
| | | private UserInfoMapper userInfoMapper; |
| | | |
| | | @Resource |
| | | private UserMsgMapper userMsgMapper; |
| | | private UserMsgDao userMsgMapper; |
| | | |
| | | @Test |
| | | public void scanRecord() { |
| | |
| | | @Test |
| | | public void msgTypeConfig() { |
| | | MsgTypeConfigQuery query = new MsgTypeConfigQuery(); |
| | | query.msgType = UserMsg.UserMsgType.activity; |
| | | query.msgType = UserMsg.UserMsgType.lucky; |
| | | query.appId = 1L; |
| | | query.count = 1; |
| | | |
| | |
| | | public void userMsg() { |
| | | UserMsgQuery query = new UserMsgQuery(); |
| | | query.uid = 1L; |
| | | query.msgType = UserMsg.UserMsgType.activity; |
| | | query.msgType = UserMsg.UserMsgType.lucky; |
| | | |
| | | userMsgMapper.list(query); |
| | | userMsgMapper.count(query); |