|
@@ -42,7 +42,7 @@ public class CompetitionTask {
|
|
|
* 输出基金净值采集结果明细任务
|
|
|
* 每周五 18:00 执行
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 18 ? * 5")
|
|
|
+ // @Scheduled(cron = "0 0 18 ? * 5")
|
|
|
public void fundNavDataTask() {
|
|
|
List<FundNavDataDTO> navDataDTOList = fundNavService.getFungNavData();
|
|
|
if (CollUtil.isEmpty(navDataDTOList)) {
|
|
@@ -72,7 +72,7 @@ public class CompetitionTask {
|
|
|
* 输出基金净值缺失明细任务
|
|
|
* 每周五 18:00 执行
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 18 ? * 5")
|
|
|
+ // @Scheduled(cron = "0 0 18 ? * 5")
|
|
|
public void navDeletionTask() {
|
|
|
List<FundNavDeletionDTO> navDeletionDTOList = fundNavService.getFundNavDeletion();
|
|
|
String filePath = competitionConfig.getDirectory() + "基金净值缺失明细_" + DateUtil.format(new Date(), DateConst.YYYYMMDD) + ".xlsx";
|
|
@@ -95,7 +95,7 @@ public class CompetitionTask {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0/10 * * * * ?")
|
|
|
+ // @Scheduled(cron = "0/10 * * * * ?")
|
|
|
public void competitionResultTask() {
|
|
|
Integer competitionId = competitionConfig.getId();
|
|
|
List<? extends CompetitionBaseResultDTO> competitionResultDTOList = fundNavService.getCompetitionResult(competitionId);
|