| | |
| | | |
| | | import com.moral.service.HistoryMinutelyService; |
| | | import com.xxl.job.core.biz.model.ReturnT; |
| | | import com.xxl.job.core.handler.annotation.XxlJob; |
| | | import org.springframework.format.datetime.joda.LocalDateTimeParser; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | public class HistoryMinutelySubTableTask { |
| | | @Resource |
| | | private HistoryMinutelyService historyMinutelyService; |
| | | @XxlJob("createHistoryMinutelyTb") |
| | | public ReturnT createHistoryMinutelyTb(){ |
| | | LocalDateTime time=LocalDateTime.now(); |
| | | LocalDateTime time1 = time.plusMonths(1); |