|
@@ -21,7 +21,10 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
-import java.util.*;
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.HashMap;
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 频库-视频关联创意数查询
|
|
* 频库-视频关联创意数查询
|
|
@@ -181,16 +184,16 @@ public class KuaishouVideoRelateCreativesServiceImpl extends ServiceImpl<Kuaisho
|
|
if (!Check.isNull(KuaiShouVideoGets)) {
|
|
if (!Check.isNull(KuaiShouVideoGets)) {
|
|
JSONArray dateList = new JSONArray();
|
|
JSONArray dateList = new JSONArray();
|
|
JSONArray photoIds = new JSONArray();
|
|
JSONArray photoIds = new JSONArray();
|
|
- Map<String, Object> statdateMap = new HashMap<>();
|
|
|
|
|
|
+ Map<String, KuaiShouVideoGet> statdateMap = new HashMap<>();
|
|
int count = 0;
|
|
int count = 0;
|
|
for (KuaiShouVideoGet video : KuaiShouVideoGets) {
|
|
for (KuaiShouVideoGet video : KuaiShouVideoGets) {
|
|
count++;
|
|
count++;
|
|
if (count < 20) {
|
|
if (count < 20) {
|
|
photoIds.add(video.getPhotoId());
|
|
photoIds.add(video.getPhotoId());
|
|
- statdateMap.put(video.getPhotoId(), video.getStatDate());
|
|
|
|
|
|
+ statdateMap.put(video.getPhotoId(), video);
|
|
} else {
|
|
} else {
|
|
photoIds.add(video.getPhotoId());
|
|
photoIds.add(video.getPhotoId());
|
|
- statdateMap.put(video.getPhotoId(), video.getStatDate());
|
|
|
|
|
|
+ statdateMap.put(video.getPhotoId(),video);
|
|
dateList.add(photoIds);
|
|
dateList.add(photoIds);
|
|
photoIds = new JSONArray();
|
|
photoIds = new JSONArray();
|
|
count = 0;
|
|
count = 0;
|