admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.yeshi.fanli.service.inter.mq;
 
import java.util.Date;
import java.util.List;
 
import com.yeshi.fanli.entity.mq.MQUnSendInfo;
import com.yeshi.fanli.exception.mq.MQUnSendInfoException;
 
/**
 * 消息队列消息未发送成功服务
 * 
 * @author Administrator
 *
 */
public interface MQUnSendInfoService {
 
    public void addMQUnSendInfo(MQUnSendInfo info) throws MQUnSendInfoException;
 
    /**
     * 根据最大发送时间检索
     * 
     * @param maxSendTime
     * @param page
     * @param pageSize
     * @return
     */
    public List<MQUnSendInfo> listByMaxSendTime(Date maxSendTime, int page, int pageSize);
 
    public void deleteByPrimaryKey(Long id);
 
    /**
     * 更新发送时间
     * 
     * @param id
     * @param sendTime
     */
    public void updateSendTime(Long id, Date sendTime);
 
}