wlzboy
1 天以前 08f95b2f159b56fa3bd4f4b348855989de8aa456
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
}