OfficialDocumentReceivedHandleTask.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.xjrsoft.module.job;
  2. import com.xjrsoft.common.enums.DeleteMark;
  3. import com.xjrsoft.common.enums.EnabledMark;
  4. import com.xjrsoft.module.oa.service.IOfficialDocumentReceivedHandleService;
  5. import com.xjrsoft.module.student.dto.EnrollmentStatisticsCalendarInfoDto;
  6. import com.xjrsoft.module.student.dto.EnrollmentStatisticsGraduationInfoDto;
  7. import com.xjrsoft.module.student.dto.EnrollmentStatisticsInfoDto;
  8. import com.xjrsoft.module.student.entity.EnrollmentStatisticsInfo;
  9. import com.xjrsoft.module.student.mapper.EnrollmentStatisticsInfoMapper;
  10. import com.xjrsoft.module.student.service.IPbCseFeeobjupdateService;
  11. import com.xjrsoft.module.student.vo.EnrollmentStatisticsCalendarInfoVo;
  12. import com.xjrsoft.module.student.vo.EnrollmentStatisticsGraduationInfoVo;
  13. import com.xjrsoft.module.student.vo.EnrollmentStatisticsInfoVo;
  14. import com.yomahub.liteflow.util.JsonUtil;
  15. import lombok.extern.slf4j.Slf4j;
  16. import org.springframework.beans.factory.annotation.Autowired;
  17. import org.springframework.scheduling.annotation.Async;
  18. import org.springframework.scheduling.annotation.Scheduled;
  19. import org.springframework.stereotype.Component;
  20. import java.time.DayOfWeek;
  21. import java.time.LocalDate;
  22. import java.time.format.DateTimeFormatter;
  23. import java.time.temporal.TemporalAdjusters;
  24. import java.util.Date;
  25. /**
  26. * 将招生计划数据固化
  27. *
  28. * @author dzx
  29. * @date 2025年3月17日
  30. */
  31. @Component
  32. @Slf4j
  33. public class OfficialDocumentReceivedHandleTask {
  34. @Autowired
  35. private IOfficialDocumentReceivedHandleService officialDocumentReceivedHandleService;
  36. @Async
  37. @Scheduled(cron = "00 0/30 * * * ?")
  38. public void execute() {
  39. doExecute();
  40. }
  41. void doExecute() {
  42. }
  43. }