|
@@ -33,13 +33,10 @@ public class FundDeletionTask {
|
|
|
private NavMapper navMapper;
|
|
|
@Autowired
|
|
|
private DeletionService deletionService;
|
|
|
- @Scheduled(cron = "0 36 5,19,19 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 5,12,19 * * ?")
|
|
|
public void computeDeletion(){
|
|
|
List<String> fundIdList = navMapper.getAllFundId();
|
|
|
for(String fundId : fundIdList){
|
|
|
- if(!fundId.equals("HF00002FDW")){
|
|
|
- continue;
|
|
|
- }
|
|
|
DeletionDownParam deletionDownParam = new DeletionDownParam();
|
|
|
deletionDownParam.setFundId(fundId);
|
|
|
deletionService.computeDeletion(deletionDownParam);
|