| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.util.Constant;
|
| | | import org.springframework.stereotype.Component;
|
| | |
|
| | | import com.xxl.job.core.biz.model.ReturnT;
|
| | |
| | | * @param jdOrderList
|
| | | */
|
| | | public void saveJDOrders(List<JDOrder> jdOrderList) {
|
| | | //5分钟不更新就报警
|
| | | try {
|
| | | redisManager.cacheCommonString(RedisKeyEnum.monitor.getKey() + Constant.SOURCE_TYPE_JD, "1", 60 * 5);
|
| | | } catch (Exception e) {
|
| | | }
|
| | |
|
| | | for (JDOrder order : jdOrderList) {
|
| | | LogHelper.orderInfo("京东订单:" + order.getOrderId() + "-" + order.getValidCode());
|
| | | if (order.getValidCode() == 15)// 过滤掉待付款
|