| | |
| | | import com.yeshi.fanli.util.RedisManager;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import com.yeshi.fanli.util.TimeUtil;
|
| | | import com.yeshi.fanli.util.cmq.order.JDOrderCMQManager;
|
| | | import com.yeshi.fanli.util.jd.JDApiUtil;
|
| | | import com.yeshi.fanli.util.mq.cmq.order.JDOrderCMQManager;
|
| | |
|
| | | //从淘宝爬去订单更新
|
| | | @Component
|
| | |
| | | saveJDOrders(result.getOrderList());
|
| | | } else if ("1hour".equalsIgnoreCase(param)) {// 更新1小时内的订单
|
| | | updateUpdateOrder();
|
| | | } else if ("1day".equalsIgnoreCase(param)) {// 更新1小时内的订单
|
| | | } else if ("1day".equalsIgnoreCase(param)) {// 更新1天内的订单
|
| | | updateLatestDayOrder(new Date(System.currentTimeMillis()));
|
| | | } else if ("3day".equalsIgnoreCase(param)) {// 更新最近3天更新的数据
|
| | | updateLatest3DayOrder();
|