IWeCustomerMessageOriginalService.java
1.65 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.linkwechat.wecom.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.linkwechat.wecom.domain.WeCustomerMessageOriginal;
import com.linkwechat.wecom.domain.dto.message.AsyncResultDto;
import com.linkwechat.wecom.domain.dto.message.CustomerMessagePushDto;
import com.linkwechat.wecom.domain.vo.CustomerMessagePushVo;
import java.util.List;
/**
* 群发消息 原始数据信息表 we_customer_messageOriginal
*
* @author kewen
* @date 2020-12-12
*/
public interface IWeCustomerMessageOriginalService extends IService<WeCustomerMessageOriginal> {
/**
* 群发消息列表
*
* @param sender 创建人
* @param content 内容
* @param pushType 群发类型
* @param beginTime 开始时间
* @param endTime 结束时间
* @return {@link CustomerMessagePushVo}s
*/
List<CustomerMessagePushVo> customerMessagePushs(String sender, String content, String pushType, String beginTime, String endTime);
/**
* 群发详情
* @param messageId 微信群发id
* @return {@link CustomerMessagePushVo} 群发详情
*/
CustomerMessagePushVo CustomerMessagePushDetail(Long messageId);
/**
* 同步发送结果
*
* @param asyncResultDto 可以用于获取发送结果
*/
void asyncResult(AsyncResultDto asyncResultDto) throws JsonProcessingException;
/**
* 保存原始数据信息表 WeCustomerMessageOriginal 主键id
*
* @param customerMessagePushDto
* @return
*/
public long saveWeCustomerMessageOriginal(CustomerMessagePushDto customerMessagePushDto);
}