调整时间,防止数据不更新
This commit is contained in:
parent
b5c4542758
commit
68e749834d
@ -128,7 +128,7 @@ public class DailyReport {
|
|||||||
log.info("ScheduledSendTeamDailyReport2 finished at {}", LocalDateTime.now());
|
log.info("ScheduledSendTeamDailyReport2 finished at {}", LocalDateTime.now());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Scheduled(cron = "0 15 0 * * ?")
|
@Scheduled(cron = "10 15 0 * * ?")
|
||||||
public void dailySummarize() {
|
public void dailySummarize() {
|
||||||
|
|
||||||
log.info("dailySummarize started at {}", LocalDateTime.now());
|
log.info("dailySummarize started at {}", LocalDateTime.now());
|
||||||
|
@ -126,7 +126,7 @@ public class TelegramMessageService {
|
|||||||
public String buildDailyReportMessage(List<Statics> statics) {
|
public String buildDailyReportMessage(List<Statics> statics) {
|
||||||
StringBuilder message = new StringBuilder();
|
StringBuilder message = new StringBuilder();
|
||||||
statics.forEach(stat -> {
|
statics.forEach(stat -> {
|
||||||
String formattedStat = String.format("%s\n注册: %s\n新增: %d\n日活: %d\n\n", stat.getAgentName(), stat
|
String formattedStat = String.format("%s\n注册: %s\n首存: %d\n日活: %d\n\n", stat.getAgentName(), stat
|
||||||
.getIsNew(), stat.getFirstCount(), stat.getCountBets());
|
.getIsNew(), stat.getFirstCount(), stat.getCountBets());
|
||||||
message.append(formattedStat);
|
message.append(formattedStat);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user