1
|
package com.yoho.unions.server.task;
|
1
|
package com.yoho.unions.server.task;
|
2
|
|
2
|
|
3
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
4
|
import com.google.common.base.Function;
|
3
|
import com.google.common.base.Function;
|
5
|
import com.google.common.collect.Lists;
|
4
|
import com.google.common.collect.Lists;
|
6
|
import com.google.common.collect.Maps;
|
5
|
import com.google.common.collect.Maps;
|
7
|
-import com.yoho.core.rest.client.ServiceCaller;
|
|
|
8
|
import com.yoho.unions.common.enums.UnionTypeStatusEnum;
|
6
|
import com.yoho.unions.common.enums.UnionTypeStatusEnum;
|
9
|
-import com.yoho.unions.common.redis.RedisValueCache;
|
|
|
10
|
import com.yoho.unions.common.utils.SpringContextUtil;
|
7
|
import com.yoho.unions.common.utils.SpringContextUtil;
|
11
|
import com.yoho.unions.dal.IUnionTypeManageDAO;
|
8
|
import com.yoho.unions.dal.IUnionTypeManageDAO;
|
12
|
import com.yoho.unions.dal.IUserOrdersDAO;
|
9
|
import com.yoho.unions.dal.IUserOrdersDAO;
|
|
@@ -14,10 +11,8 @@ import com.yoho.unions.dal.model.UnionTypeManage; |
|
@@ -14,10 +11,8 @@ import com.yoho.unions.dal.model.UnionTypeManage; |
14
|
import com.yoho.unions.dal.model.UserOrders;
|
11
|
import com.yoho.unions.dal.model.UserOrders;
|
15
|
import com.yoho.unions.server.service.IOrderPushService;
|
12
|
import com.yoho.unions.server.service.IOrderPushService;
|
16
|
import com.yoho.unions.server.service.IUnionOrderService;
|
13
|
import com.yoho.unions.server.service.IUnionOrderService;
|
17
|
-import com.yoho.unions.server.service.IUnionService;
|
|
|
18
|
import com.yoho.unions.vo.OrderInfo;
|
14
|
import com.yoho.unions.vo.OrderInfo;
|
19
|
import com.yoho.unions.vo.UnionOrderReqVO;
|
15
|
import com.yoho.unions.vo.UnionOrderReqVO;
|
20
|
-import jdk.nashorn.api.scripting.JSObject;
|
|
|
21
|
import org.apache.commons.collections.CollectionUtils;
|
16
|
import org.apache.commons.collections.CollectionUtils;
|
22
|
import org.slf4j.Logger;
|
17
|
import org.slf4j.Logger;
|
23
|
import org.slf4j.LoggerFactory;
|
18
|
import org.slf4j.LoggerFactory;
|
|
@@ -26,10 +21,8 @@ import org.springframework.scheduling.annotation.Scheduled; |
|
@@ -26,10 +21,8 @@ import org.springframework.scheduling.annotation.Scheduled; |
26
|
import org.springframework.stereotype.Component;
|
21
|
import org.springframework.stereotype.Component;
|
27
|
|
22
|
|
28
|
import javax.annotation.Resource;
|
23
|
import javax.annotation.Resource;
|
29
|
-import java.util.ArrayList;
|
|
|
30
|
import java.util.List;
|
24
|
import java.util.List;
|
31
|
import java.util.Map;
|
25
|
import java.util.Map;
|
32
|
-import java.util.concurrent.TimeUnit;
|
|
|
33
|
|
26
|
|
34
|
/**
|
27
|
/**
|
35
|
* Created by zhouxiang on 2016/11/7.
|
28
|
* Created by zhouxiang on 2016/11/7.
|