package com.njcn.rdms.module.project.service.workreport.remind;

import jakarta.annotation.Resource;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class WorkReportPendingSubmitRemindScheduler {

    @Resource
    private WorkReportPendingSubmitRemindService workReportPendingSubmitRemindService;

    @Scheduled(cron = "0 0 20 * * ?", zone = "Asia/Shanghai")
    public void remindPendingSubmitReports() {
        workReportPendingSubmitRemindService.remindPendingSubmitReports();
    }
}
