yuzixiang
2020-05-19 342ac864db46c021752b8da45d620ca7147a4c47
src/main/java/com/moral/task/HistoryMinutelySubTableTask.java
@@ -2,6 +2,7 @@
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;
@@ -12,6 +13,7 @@
public class HistoryMinutelySubTableTask {
    @Resource
    private HistoryMinutelyService historyMinutelyService;
    @XxlJob("createHistoryMinutelyTb")
    public ReturnT createHistoryMinutelyTb(){
        LocalDateTime time=LocalDateTime.now();
        LocalDateTime time1 = time.plusMonths(1);