| | |
| | | |
| | | import cn.gistack.alerts.sms.entity.SmsTemplate; |
| | | import cn.gistack.alerts.sms.vo.SmsTemplateVO; |
| | | import cn.gistack.common.node.TreeNode; |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.MapKey; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 短信发送模板 |
| | |
| | | * @return |
| | | */ |
| | | List<SmsTemplateVO> selectSmsTemplatePage(IPage<SmsTemplateVO> page, @Param("smsTemplate") SmsTemplateVO smsTemplate); |
| | | |
| | | /** |
| | | * 查询当前任务未接通的人员信息(包含水库编号)--MYSQL |
| | | * @param taskIdList |
| | | * @param callId |
| | | * @return |
| | | */ |
| | | @DS("znwh") |
| | | List<Map<String, Object>> getNotConnectPatrolPersonList(@Param("taskIdList") List<String> taskIdList, |
| | | @Param("callId") String callId); |
| | | |
| | | /** |
| | | * 查询符合当前时间外呼任务id集合 |
| | | * @param time |
| | | * @return |
| | | */ |
| | | List<String> getTaskIdListByTime(@Param("time") String time); |
| | | |
| | | /** |
| | | * 获取短信类型树(当为告警是显示告警规则名称) |
| | | * |
| | | * @return |
| | | */ |
| | | @MapKey("id") |
| | | Map<String, TreeNode> getSmsTypeTree(); |
| | | } |