package com.yeshi.fanli.dao.mybatis.mq;
|
|
import java.util.Date;
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.yeshi.fanli.dao.BaseMapper;
|
import com.yeshi.fanli.entity.mq.MQUnSendInfo;
|
|
public interface MQUnSendInfoMapper extends BaseMapper<MQUnSendInfo> {
|
|
MQUnSendInfo selectByTopicTagAndKey(@Param("topic") String topic, @Param("tag") String tag,
|
@Param("key") String key);
|
|
/**
|
* 根据最大发送时间检索
|
*
|
* @param maxSendTime
|
* @param start
|
* @param count
|
* @return
|
*/
|
List<MQUnSendInfo> listByMaxSendTime(@Param("maxSendTime") Date maxSendTime, @Param("start") long start,
|
@Param("count") int count);
|
|
}
|