BAOLH
2026-09-18 1d9899d1ff04c17d7c566ea0e7b20d7ebea660ec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package me.zhengjie.modules.quartz.task;
 
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.modules.quartz.service.impl.AttendanceMonthTalkServiceImpl;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
 
import java.text.ParseException;
 
/**
 * 月报定时任务,每月初执行
 */
@Slf4j
@Service
@RequiredArgsConstructor
//@Async
public class AttendanceMonthlyMethod {
 
    private final AttendanceMonthTalkServiceImpl attendanceMonthService;
 
    public void getMonthlyData() throws ParseException {
        // 调用方法
        attendanceMonthService.getMonthlyInfo();
    }
}