瀏覽代碼

修改代码

xueyiming 6 月之前
父節點
當前提交
dd491aa02a
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      we-com-server/src/main/java/com/tzld/piaoquan/wecom/job/WeComMessageDataJob1.java

+ 1 - 2
we-com-server/src/main/java/com/tzld/piaoquan/wecom/job/WeComMessageDataJob1.java

@@ -218,10 +218,9 @@ public class WeComMessageDataJob1 {
         if (CollectionUtils.isEmpty(staffWithUserList)) {
             return null;
         }
-        int n = 0;
-
         List<SendMessage> sendMessageList = new ArrayList<>();
         for (StaffWithUser staffWithUser : staffWithUserList) {
+            int n = 0;
             SendMessage sendMessage = new SendMessage();
             for (PushMessage pushMessage : goodHistoryPushList) {
                 if (pushMessage.getUserIds().contains(user.getId())) {