|
|
@@ -207,7 +207,10 @@ public class BizWaybillOrderController extends BaseController
|
|
|
}
|
|
|
total = orderList.size();
|
|
|
// 调用批量下单方法
|
|
|
- // bizWaybillOrderService.batchInsertJDBizWaybillOrder(orderList, orderType);
|
|
|
+ // 先不用 bizWaybillOrderService.batchInsertJDBizWaybillOrder(orderList, orderType);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
bizWaybillOrderService.asyncBatchInsertJd((List<BizWaybillOrder>) result.get("orderList"), orderType);
|
|
|
|
|
|
}
|
|
|
@@ -230,7 +233,7 @@ public class BizWaybillOrderController extends BaseController
|
|
|
}
|
|
|
total=orderList.size();
|
|
|
// 调用异步批量下单方法
|
|
|
- bizWaybillOrderService.asyncBatchInsert((List<BizWaybillOrder>) result.get("orderList"), orderType);
|
|
|
+ bizWaybillOrderService.asyncBatchInsert((List<BizWaybillOrder>) result.get("orderList"), orderType);
|
|
|
}
|
|
|
return AjaxResult.success(String.format("本次导入共【%d】条数据,后台已自动开启对接第三方接口下单,请 1-2 分钟后刷新列表仔细核对导入结果!",total));
|
|
|
|