|
@@ -590,18 +590,17 @@ public class BytedanceReportServiceImpl implements IBytedanceReportService {
|
|
|
String startDate = requestJson.getString("startDate");
|
|
|
String endDate = requestJson.getString("endDate");
|
|
|
reportList = reportMapper.selectDayDetailByDate(startDate, endDate);
|
|
|
+
|
|
|
} else if (type == 10) {
|
|
|
String sign = requestJson.getString("sign");
|
|
|
String bigDate = requestJson.getString("bigDate");
|
|
|
String smallDate = requestJson.getString("smallDate");
|
|
|
-
|
|
|
Map<String, Object> dateMap = new HashMap<>();
|
|
|
if ("month".equals(sign)) {
|
|
|
dateMap = DateUtils.compare_date("yyyy-MM", bigDate, smallDate);
|
|
|
} else if ("day".equals(sign)) {
|
|
|
dateMap = DateUtils.compare_date("yyyy-MM-dd", bigDate, smallDate);
|
|
|
}
|
|
|
-
|
|
|
String comparedDate = (String) dateMap.get("bigDate");
|
|
|
String beComparedDate = (String) dateMap.get("smallDate");
|
|
|
JSONObject detailJson = new JSONObject();
|