admin
2020-01-01 c8f11c229b87d1652b6da0b15576c166cd51eb8b
fanli/src/main/java/com/yeshi/fanli/job/order/taobao/UpdateOrderJob.java
@@ -16,6 +16,8 @@
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import com.yeshi.fanli.dto.taobao.WeiQuanOrderResult;
import com.yeshi.fanli.entity.bus.user.LostOrder;
import com.yeshi.fanli.entity.bus.user.Order;
@@ -322,9 +324,9 @@
   // 每15分钟爬取一次
   @Scheduled(cron = "0 0/15 * * * ? ")
   public void pullCommonOrder() {
      LogHelper.job("正在执行15min订单爬取");
      if (!Constant.IS_TASK)
         return;
      LogHelper.job("正在执行15min订单爬取");
      long currentTime = System.currentTimeMillis() - 1000 * 60;
      String h = TimeUtil.getGernalTime(currentTime, "HH");
      String m = TimeUtil.getGernalTime(currentTime, "mm");
@@ -368,11 +370,14 @@
   }
   // 每月25号9点执行返利
   @Scheduled(cron = "0 0 9 25 * ? ")
   public void fanliInvaiteAndShare() {
      if (!Constant.IS_TASK)
         return;
      orderProcessService.fanliInvaiteAndShare();
   // @Scheduled(cron = "0 0 9 25 * ? ")
   @XxlJob("fanliInvaiteAndShareHandler")
   public ReturnT<String> fanliInvaiteAndShareHandler(String param) throws Exception {
      if (StringUtil.isNullOrEmpty(param))
         orderProcessService.fanliInvaiteAndShare();
      else
         orderProcessService.fanliInvaiteAndShare(Long.parseLong(param));
      return ReturnT.SUCCESS;
   }
   // 维权订单处理-处理最近60天的