|
@@ -734,12 +734,22 @@ public class KuaishouItemCollectSamplesServiceImpl implements IKuaishouItemColle
|
|
map.put("end", endDate);
|
|
map.put("end", endDate);
|
|
map.put("userList", userList);
|
|
map.put("userList", userList);
|
|
map.put("promoterIds", promoterIds);
|
|
map.put("promoterIds", promoterIds);
|
|
- map.put("startLong", DateUtils.getStartLongTime(startDate));
|
|
|
|
- map.put("endLong", DateUtils.getEndLongTime(endDate));
|
|
|
|
|
|
+
|
|
|
|
+ if ("1".equals(mediaId)) {
|
|
|
|
+ map.put("startLong", Long.valueOf(startDate.replace("-","")));
|
|
|
|
+ map.put("endLong", Long.valueOf(endDate.replace("-","")));
|
|
|
|
+ } else {
|
|
|
|
+ map.put("startLong", DateUtils.getStartLongTime(startDate));
|
|
|
|
+ map.put("endLong", DateUtils.getEndLongTime(endDate));
|
|
|
|
+ }
|
|
List<JSONObject> list = null;
|
|
List<JSONObject> list = null;
|
|
if ("1".equals(mediaId)) {
|
|
if ("1".equals(mediaId)) {
|
|
|
|
+ map.put("startLong", Long.valueOf(startDate.replace("-","")));
|
|
|
|
+ map.put("endLong", Long.valueOf(endDate.replace("-","")));
|
|
list = supplyChainService.getMonthOrderAmountBytedance(map);
|
|
list = supplyChainService.getMonthOrderAmountBytedance(map);
|
|
} else {
|
|
} else {
|
|
|
|
+ map.put("startLong", DateUtils.getStartLongTime(startDate));
|
|
|
|
+ map.put("endLong", DateUtils.getEndLongTime(endDate));
|
|
list = supplyChainService.getMonthOrderAmount(map);
|
|
list = supplyChainService.getMonthOrderAmount(map);
|
|
}
|
|
}
|
|
|
|
|