jinpengyong
2020-05-19 c49d3947b165e0868d48a4c969e55093b8d05705
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);