package com.hzs.third.sms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.third.sms.TSmsRecord;
import com.hzs.common.domain.third.sms.ext.TSmsRecordExt;
import com.hzs.third.sms.param.SmsCreateParam;
import com.hzs.third.sms.param.SmsRecordQueryParam;

import java.util.List;

/**
 * 短信发送记录 服务类
 */
public interface ITSmsRecordService extends IService<TSmsRecord> {

    /**
     * 查询列表
     *
     * @param param     查询入参
     * @param pkCountry 所属国家
     * @return
     */
    List<TSmsRecordExt> queryList(SmsRecordQueryParam param, Integer pkCountry);

    /**
     * 页面添加短信
     *
     * @param param
     * @param userId
     * @param pkCountry
     * @return
     */
    String pageSms(SmsCreateParam param, Long userId, Integer pkCountry);

}
