...
|
...
|
@@ -3,6 +3,7 @@ package com.yohoufo.order.service.proxy; |
|
|
import com.yohoufo.common.utils.DateUtil;
|
|
|
import com.yohoufo.dal.order.BuyerOrderStatusFlowMapper;
|
|
|
import com.yohoufo.dal.order.model.BuyerOrderStatusFlow;
|
|
|
import com.yohoufo.order.utils.PubThreadFactory;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
...
|
...
|
@@ -14,7 +15,7 @@ import java.util.concurrent.*; |
|
|
public class OrderStatusFlowService {
|
|
|
private final Logger logger = LoggerFactory.getLogger(getClass());
|
|
|
|
|
|
private ExecutorService executorService = new ThreadPoolExecutor(5, 10, 60, TimeUnit.SECONDS, new ArrayBlockingQueue<>(1000));
|
|
|
private ExecutorService executorService = new ThreadPoolExecutor(5, 10, 60, TimeUnit.SECONDS, new ArrayBlockingQueue<>(1000),new PubThreadFactory("order-status-flow"));
|
|
|
|
|
|
@Autowired
|
|
|
private BuyerOrderStatusFlowMapper buyerOrderStatusFlowMapper;
|
...
|
...
|
|