|
|
@@ -1,27 +1,12 @@
|
|
|
package com.gree.mall.manager.schedule;
|
|
|
|
|
|
-import cn.hutool.core.date.DateUtil;
|
|
|
-import com.github.binarywang.wxpay.exception.WxPayException;
|
|
|
-import com.gree.mall.manager.enums.workorder.OrderBaseStatusEnum;
|
|
|
import com.gree.mall.manager.logic.comlist.ComListLogic;
|
|
|
-import com.gree.mall.manager.logic.common.WechatLogic;
|
|
|
-import com.gree.mall.manager.logic.websit.SettlementOrderLogic;
|
|
|
-import com.gree.mall.manager.logic.workorder.OrderBaseLogic;
|
|
|
-import com.gree.mall.manager.plus.entity.PgOrderBase;
|
|
|
-import com.gree.mall.manager.plus.entity.SettlementOrder;
|
|
|
-import com.gree.mall.manager.plus.service.PgOrderBaseService;
|
|
|
-import com.gree.mall.manager.plus.service.SettlementOrderService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
-import org.springframework.util.CollectionUtils;
|
|
|
-
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
-import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
|
* 中心文件上传
|
|
|
@@ -42,7 +27,7 @@ public class ComListSchedule {
|
|
|
* 生成抢单通知
|
|
|
*/
|
|
|
@Transactional
|
|
|
- @Scheduled(fixedDelay = 1*60 * 1000)
|
|
|
+ @Scheduled(fixedDelay = 60 * 1000)
|
|
|
public void task() {
|
|
|
comListLogic.upFile();
|
|
|
}
|