package com.pqs9900.service.message;

import com.github.pagehelper.PageInfo;
import com.njcn.pojo.commons.HttpResult;
import com.pqs9900.pojo.message.MsgBaseConfDTO;
import com.pqs9900.pojo.message.MsgInfoDTO;
import com.pqs9900.pojo.message.MsgTemplateData;
import com.pqs9900.pojo.message.MsgTypeTemplateDTO;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface MessageService {
    String sendMsg(String msg, String phone, List<Integer> list, Date date, Date date2,int inter,Integer[] arr);

    /**
    * @Author chendaofei
    * @Description 获取短信配置
    * @Date 10:29 2020/5/11
    **/
    MsgBaseConfDTO getMsgConfig();


    /**
     * @Author chendaofei
     * @Description 获取短信配置相关模板
     * @Date 10:40 2020/5/12
     **/
    List<MsgTypeTemplateDTO> getMsgDicdataList();

    /**
     * @Author chendaofei
     * @Description 删除模板
     * @Date 10:42 2020/5/12
     **/
    Integer delMsgDicBytype(String msgIndex);

    /**
     * @Author chendaofei
     * @Description 修改短信时间段类型模板
     * @Date 10:45 2020/5/12
     **/
    String updateMsgDicState(List<String> list);

    /**
     * @Author chendaofei
     * @Description 新增短信时间段类型模板
     * @Date 10:47 2020/5/12
     **/
    String addMsgDicdata(MsgTypeTemplateDTO msgTypeTemplateDTO);

    /**
     * @Author chendaofei
     * @Description 查询短信信息列表
     * @Date 10:47 2020/5/12
     **/
    List<MsgInfoDTO> getAllMsgList(Integer type, Date startTime, Date endTime);

    /**
     * @Author chendaofei
     * @Description 删除已发短信
     * @Date 11:50 2020/5/21
     **/
    Boolean deleteMsgList(List<String> list);

}
