fix:基金周涨跌幅报告
This commit is contained in:
@@ -2,6 +2,7 @@ package com.xiang.xservice.xb.schedule.xb;
|
||||
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.xiang.xservice.basic.utils.DateUtils;
|
||||
import com.xiang.xservice.xb.entity.pojo.xb.XbFundCount;
|
||||
import com.xiang.xservice.xb.entity.pojo.xb.XbFundList;
|
||||
import com.xiang.xservice.xb.entity.response.xbyj.fund.FundList;
|
||||
@@ -74,8 +75,8 @@ public class FundCountJob {
|
||||
}
|
||||
|
||||
@Scheduled(cron = "0 40 14 * * ? ")
|
||||
@PostMapping("/ddddd")
|
||||
public void countFundInWeek() throws Exception {
|
||||
if (DateUtils.validWeekTime()) return;
|
||||
log.info("==========================[基金统计] 基金本周涨跌幅消息发送定时任务启动!==========================");
|
||||
List<XbFundCount> xbFundCounts = fundService.queryFundCountInWeek();
|
||||
if (CollectionUtils.isEmpty(xbFundCounts)) {
|
||||
|
||||
Reference in New Issue
Block a user