Commit 9446d68a by 徐高华

群发-获取msgid

parent 8ef2c30a
...@@ -79,4 +79,10 @@ public interface GroupChatPlanApiService { ...@@ -79,4 +79,10 @@ public interface GroupChatPlanApiService {
public ServiceResponse<Integer> getTotalCount(String enterpriseId,String clerkId,String storeId); public ServiceResponse<Integer> getTotalCount(String enterpriseId,String clerkId,String storeId);
void staffSendResult(StaffSendResultQDTO qdto); void staffSendResult(StaffSendResultQDTO qdto);
/**
* 获取msgid(非社群群发)
* @return
*/
String getQwMsgId(String staffId , Date sendTime) ;
} }
package com.gic.haoban.manage.service.service.out.impl.chat; package com.gic.haoban.manage.service.service.out.impl.chat;
import com.gic.haoban.manage.api.qdto.StaffSendResultQDTO; import com.gic.haoban.manage.api.qdto.StaffSendResultQDTO;
import com.gic.haoban.manage.service.service.content.impl.GroupMessageServiceImpl;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -175,4 +176,9 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService { ...@@ -175,4 +176,9 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
public void staffSendResult(StaffSendResultQDTO qdto) { public void staffSendResult(StaffSendResultQDTO qdto) {
this.groupChatPlanService.staffSendResult(qdto); this.groupChatPlanService.staffSendResult(qdto);
} }
@Override
public String getQwMsgId(String staffId, Date sendTime) {
return this.groupChatPlanService.getQwMsgId(staffId,sendTime, GroupMessageServiceImpl.GroupMsgChatType.single);
}
} }
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