| | |
| | | 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;
|
| | |
| | | }
|
| | |
|
| | | // 每月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天的
|