Commit c3779a53 by 徐高华

统计

parent c2f2913c
...@@ -272,11 +272,14 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService { ...@@ -272,11 +272,14 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
int failCount = 0; int failCount = 0;
for (QywxSendMessageResultDTO item : list) { for (QywxSendMessageResultDTO item : list) {
TabGroupChatPlanLog entity = new TabGroupChatPlanLog(); TabGroupChatPlanLog entity = new TabGroupChatPlanLog();
if (item.getStatus() == 2) { // 企微返回成功
if (item.getStatus() == 1) {
sendCount++; sendCount++;
// 已发送
entity.setSendStatus(2); entity.setSendStatus(2);
} else { } else {
failCount++; failCount++;
// 发送失败
entity.setSendStatus(0); entity.setSendStatus(0);
} }
String wxChatId = item.getChatId(); String wxChatId = item.getChatId();
......
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