package com.ruoyi.system.service;
|
|
import com.ruoyi.system.domain.SysTask;
|
|
import java.util.List;
|
|
/**
|
* 微信任务通知服务接口
|
*
|
* @author ruoyi
|
* @date 2025-11-30
|
*/
|
public interface IWechatTaskNotifyService {
|
|
/**
|
* 发送任务通知消息给指定用户列表
|
*
|
* @param taskId 任务ID
|
* @param userIds 接收用户ID列表
|
* @param excludeUserId 排除的用户ID(可选,如创建人)
|
* @return 成功发送的消息数量
|
*/
|
int sendTaskNotifyMessage(Long taskId, List<Long> userIds, Long excludeUserId);
|
|
/**
|
* 发送任务通知消息给指定用户列表(不排除任何用户)
|
*
|
* @param taskId 任务ID
|
* @param userIds 接收用户ID列表
|
* @return 成功发送的消息数量
|
*/
|
int sendTaskNotifyMessage(Long taskId, List<Long> userIds);
|
}
|