Commit f3310d00 by 18356073052

群发消息 发送结果表

1 parent 2feaa4de
...@@ -2,6 +2,7 @@ package com.linkwechat.wecom.mapper; ...@@ -2,6 +2,7 @@ package com.linkwechat.wecom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkwechat.wecom.domain.WeCustomerMessgaeResult; import com.linkwechat.wecom.domain.WeCustomerMessgaeResult;
import org.apache.ibatis.annotations.Param;
/** /**
* 群发消息 微信消息发送结果表 Mapper接口 * 群发消息 微信消息发送结果表 Mapper接口
...@@ -10,4 +11,19 @@ import com.linkwechat.wecom.domain.WeCustomerMessgaeResult; ...@@ -10,4 +11,19 @@ import com.linkwechat.wecom.domain.WeCustomerMessgaeResult;
* @date 2020-12-08 * @date 2020-12-08
*/ */
public interface WeCustomerMessgaeResultMapper extends BaseMapper<WeCustomerMessgaeResult> { public interface WeCustomerMessgaeResultMapper extends BaseMapper<WeCustomerMessgaeResult> {
/**
* 更新群发消息结果
*
* @param messageId 微信消息表id
* @param chatId 外部客户群id
* @param externalUserid 外部联系人userid
* @param status 发送状态 0-未发送 1-已发送 2-因客户不是好友导致发送失败 3-因客户已经收到其他群发消息导致发送失败
* @param sendTime 发送时间,发送状态为1时返回(为时间戳的形式)
* @return int
*/
int updateWeCustomerMessgaeResult(@Param("messageId") Long messageId,@Param("chatId") String chatId,@Param("externalUserid") String externalUserid
,@Param("status") String status,@Param("sendTime") String sendTime);
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!