|
@@ -224,6 +224,10 @@ public class WeComHistoryDataJob {
|
|
|
if (total == null || total == 0) {
|
|
|
return;
|
|
|
}
|
|
|
+ Set<String> filterStatus = new HashSet<String>() {{
|
|
|
+ add("sended");
|
|
|
+ add("waiting_confirm");
|
|
|
+ }};
|
|
|
List<AlertMessage> alertMessageList = new ArrayList<>();
|
|
|
int page = total / size + 1;
|
|
|
for (int n = 0; n < page; n++) {
|
|
@@ -243,10 +247,6 @@ public class WeComHistoryDataJob {
|
|
|
videoIds.add(videoId);
|
|
|
}
|
|
|
JSONArray subMissionList = jsonArray.getJSONObject(i).getJSONArray("sub_mission_list");
|
|
|
- Set<String> filterStatus = new HashSet<String>() {{
|
|
|
- add("sended");
|
|
|
- add("waiting_confirm");
|
|
|
- }};
|
|
|
for (int k = 0; k < subMissionList.size(); k++) {
|
|
|
if (!filterStatus.contains(subMissionList.getJSONObject(k).getString("status"))) {
|
|
|
Long messageId = jsonArray.getJSONObject(i).getLong("id");
|