Commit 85df4b07 by xuwenqian

feat:新增发送企业微信消息通用方法

parent 035edf98
...@@ -7,22 +7,34 @@ import com.gic.haoban.manage.api.dto.QywxCallBackDTO; ...@@ -7,22 +7,34 @@ import com.gic.haoban.manage.api.dto.QywxCallBackDTO;
* Created by tgs on 2020/2/20. * Created by tgs on 2020/2/20.
*/ */
public interface MessageApiService { public interface MessageApiService {
/**接收企业微信的推送消息*/ /**
* 接收企业微信的推送消息
*
* @param gicMessageDTO
*/
@Deprecated
void gicMessageReceive(GicMessageDTO gicMessageDTO); void gicMessageReceive(GicMessageDTO gicMessageDTO);
/**接收企业微信的推送消息*/ /**
* 接收企业微信的推送消息
*
* @param qywxCallBackDTO
*/
void wxMessageReceive(QywxCallBackDTO qywxCallBackDTO); void wxMessageReceive(QywxCallBackDTO qywxCallBackDTO);
/** /**
* 队列消费gic推送数据 * 队列消费gic推送数据
*
* @param param * @param param
*/ */
@Deprecated
void dealGicMessage(String param); void dealGicMessage(String param);
/** /**
* 队列消费企业微信推送数据 * 队列消费企业微信推送数据
* @param param * @param param
*/ */
@Deprecated
void dealWxMessage(String param); void dealWxMessage(String param);
/** /**
* 发送消费消息 * 发送消费消息
...@@ -33,9 +45,11 @@ public interface MessageApiService { ...@@ -33,9 +45,11 @@ public interface MessageApiService {
* @param storeId * @param storeId
* @return * @return
*/ */
Boolean sendFaceMessage(String clerkId,String memberId, String memberName, String arrivalTime,String storeId); Boolean sendFaceMessage(String clerkId, String memberId, String memberName, String arrivalTime, String storeId);
/** /**
* 发送完善标签信息 * 发送完善标签信息
*
* @param clerkId * @param clerkId
* @param clerkId * @param clerkId
* @param memberName * @param memberName
...@@ -43,5 +57,16 @@ public interface MessageApiService { ...@@ -43,5 +57,16 @@ public interface MessageApiService {
* @param orderId * @param orderId
* @param storeId * @param storeId
*/ */
Boolean sendPerfectRemarkMessage(String clerkId, String memberId,String memberName, String customerTime, String orderId,String storeId); Boolean sendPerfectRemarkMessage(String clerkId, String memberId, String memberName, String customerTime, String orderId, String storeId);
/**
* 通用发送企业微信消息
*
* @param param 参数
* @author xuwenqian
* @date 2021-07-16 10:09:00
*/
void sendWxMessage(String param);
} }
...@@ -435,6 +435,8 @@ ...@@ -435,6 +435,8 @@
<select id="listAll" resultType="com.gic.haoban.manage.api.dto.StaffClerkRelationDTO"> <select id="listAll" resultType="com.gic.haoban.manage.api.dto.StaffClerkRelationDTO">
SELECT a.store_id, SELECT a.store_id,
a.wx_enterprise_id,
a.wx_user_id,
a.staff_id, a.staff_id,
a.clerk_id, a.clerk_id,
b.staff_name, b.staff_name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment