kongdeqiang
4 小时以前 970453ec0b28479ba9ba30280051932cec8e4666
src/main/java/com/boying/job/DaPingScheduled.java
@@ -29,9 +29,9 @@
    @Autowired
    private TicketBlackService ticketBlackService;
    //@Scheduled(cron = "0 0/40 * * * ?")
    @Scheduled(cron = "0 0/40 * * * ?")
    public void execute() throws IOException {
        System.out.println("开始定时任务-------》");
        System.out.println("开始统计定时任务-------》");
//        List<TicketBlack> list = ticketBlackService.updateType();
//        if(list.size() > 0){
//            for(TicketBlack t:list){
@@ -82,6 +82,6 @@
        statistic.setData19(ticketBlackService.count1());
        statistic.setData20(ticketBlackService.count2());
        statisticService.saveOrUpdate(statistic);
        System.out.println("结束定时任务-------》");
        System.out.println("结束统计定时任务-------》");
    }
}