//package com.gyee.runeconomy.task;
//
//import com.gyee.runeconomy.service.auto.IProEconBenchmarkingBetweenService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration      //1.主要用于标记配置类，兼备Component的效果。
////@EnableScheduling   // 2.开启定时任务
//public class SaticScheduleTask {
//
//    @Autowired
//    private IProEconBenchmarkingBetweenService iProEconBenchmarkingBetweenService;
//
//
//    /**
//     * 定时调度任务
//     */
////    @Scheduled(cron = "0 0 1 * * ?")
//    //@Scheduled(cron = "0 24 14 * * ?")
//    //或直接指定时间间隔，例如：5秒
////    @Scheduled(fixedRate=5000)
////    private void configureTasks1() {
////        Date yestday = DateUtils.getYestday(new Date());
////        String date = DateUtils.toDate1(yestday);
////        try {
////            //值际对标定时
////            iProEconBenchmarkingBetweenService.saveBeanchmarkList(date, date);
////        } catch (Exception e) {
////            e.printStackTrace();
////        }
////
////    }
//
//}
