Commit c3779a53 by 徐高华

统计

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