|
@@ -113,11 +113,11 @@ public class DataDashboardService {
|
|
|
|
|
|
List<Pair<String, String>> styles = Arrays
|
|
|
.asList(
|
|
|
- Pair.of("K", "0.00%"),
|
|
|
- Pair.of("L", "0.00%"),
|
|
|
- Pair.of("M", "0.00%"),
|
|
|
- Pair.of("N", "0.00%"),
|
|
|
- Pair.of("O", "0.00%")
|
|
|
+ Pair.of("O", "0.00%"),
|
|
|
+ Pair.of("P", "0.00%"),
|
|
|
+ Pair.of("Q", "0.00%"),
|
|
|
+ Pair.of("R", "0.00%"),
|
|
|
+ Pair.of("S", "0.00%")
|
|
|
);
|
|
|
|
|
|
doSendFeishuSheet(dateStrList, sheetToken, sheetId, rowNum, rows, 2, styles);
|
|
@@ -174,6 +174,10 @@ public class DataDashboardService {
|
|
|
obj.setDateStr(date);
|
|
|
obj.setStrategy(dateStrategy.get(date));
|
|
|
if (Objects.nonNull(avgInfo)) {
|
|
|
+ obj.setAccountMode(avgInfo.getAccountMode());
|
|
|
+ obj.setAccountSource(avgInfo.getAccountSource());
|
|
|
+ obj.setAccountType(avgInfo.getAccountType());
|
|
|
+ obj.setAccountStatus(avgInfo.getAccountStatus());
|
|
|
obj.setFans(avgInfo.getFans());
|
|
|
obj.setAvgViewCount(avgInfo.getReadAvg());
|
|
|
if (avgInfo.getReadAvg() > 0) {
|
|
@@ -256,7 +260,7 @@ public class DataDashboardService {
|
|
|
.builder()
|
|
|
.put("valueRange", MapBuilder
|
|
|
.builder()
|
|
|
- .put("range", String.format("%s!A" + startRowIndex + ":S", sheetId) + (rowNum + startRowIndex - 1))
|
|
|
+ .put("range", String.format("%s!A" + startRowIndex + ":W", sheetId) + (rowNum + startRowIndex - 1))
|
|
|
.put("values", rows)
|
|
|
.build())
|
|
|
.build(), httpHeaders);
|