package cn.axzo.msg.center.dal.mapper;

import cn.axzo.msg.center.domain.dto.BatchMessageStatisticsResponseDto;
import cn.axzo.msg.center.domain.entity.MNSBatchMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 渠道模板变量序列表 Mapper 接口
 * </p>
 *
 * @author szg
 * @since 2021-08-09
 */
public interface MNSBatchMessageMapper extends BaseMapper<MNSBatchMessage> {

  BatchMessageStatisticsResponseDto getStatisticsMessageInfo(@Param("appNo") String appNo,
                                                             @Param("requestNo") String requestNo);

  MNSBatchMessage getByChannelMsgIdAndLock(@Param("msgId") String msgId);
}
