|
@@ -107,8 +107,6 @@ public class WeComHistoryDataJob {
|
|
|
List<MiniprogramRecord> miniprogramRecordList = new ArrayList<>();
|
|
|
List<MessageAttachment> messageAttachmentList = new ArrayList<>();
|
|
|
Date sendAt = jsonArray.getJSONObject(i).getDate("send_at");
|
|
|
- Integer id = jsonArray.getJSONObject(i).getInteger("id");
|
|
|
- JSONArray staffExtIdList = jsonArray.getJSONObject(i).getJSONArray("staff_id_list");
|
|
|
JSONArray attachments = jsonArray.getJSONObject(i).getJSONObject("msg_data").getJSONArray("attachments");
|
|
|
for (int j = 0; j < attachments.size(); j++) {
|
|
|
MiniprogramRecord miniprogramRecord = new MiniprogramRecord();
|
|
@@ -134,6 +132,8 @@ public class WeComHistoryDataJob {
|
|
|
JSONArray subMissionList = jsonArray.getJSONObject(i).getJSONArray("sub_mission_list");
|
|
|
for (int k = 0; k < subMissionList.size(); k++) {
|
|
|
if (!"sended".equals(subMissionList.getJSONObject(k).getString("status"))) {
|
|
|
+ Integer id = jsonArray.getJSONObject(i).getInteger("id");
|
|
|
+ JSONArray staffExtIdList = jsonArray.getJSONObject(i).getJSONArray("staff_id_list");
|
|
|
List<Long> videoIds = messageAttachmentList.stream().map(MessageAttachment::getMiniprogramVideoId).collect(Collectors.toList());
|
|
|
JSONObject error = new JSONObject();
|
|
|
error.put("id", id);
|