From ea35c1984a5db354388148747f653b2c9023b8c5 Mon Sep 17 00:00:00 2001 From: wangchaoxu Date: Mon, 4 Sep 2023 17:14:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=8D=95=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order/RsyncDdOrdersAndPurchaseOrdersService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ms-biz/src/main/java/com/ms/api/spi/order/RsyncDdOrdersAndPurchaseOrdersService.java b/ms-biz/src/main/java/com/ms/api/spi/order/RsyncDdOrdersAndPurchaseOrdersService.java index b32605cf..d7d313c0 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/order/RsyncDdOrdersAndPurchaseOrdersService.java +++ b/ms-biz/src/main/java/com/ms/api/spi/order/RsyncDdOrdersAndPurchaseOrdersService.java @@ -46,7 +46,7 @@ public class RsyncDdOrdersAndPurchaseOrdersService extends SPIBaseService implem public BaseResponse handle(BaseRequest req) { initHandle(req); - Map retMap = new HashMap(); + Map resultMap = new HashMap(); try { String orderIdsStr = req.getData().getOrderIds(); @@ -86,8 +86,8 @@ public class RsyncDdOrdersAndPurchaseOrdersService extends SPIBaseService implem if (reynsRet.getOrderIdAndFailReasonMap().size() > 0) { // String reason = String.join(";", reynsRet.getOrderIdAndFailReasonMap().values()); // return R.ok(Ret.fail(reason)); - retMap.put("orderIdAndErrorMap", reynsRet.getOrderIdAndFailReasonMap()); - return R.ok(Ret.success(retMap)); + resultMap.put("orderIdAndErrorMap", reynsRet.getOrderIdAndFailReasonMap()); + return R.ok(Ret.success(resultMap)); } } @@ -128,8 +128,8 @@ public class RsyncDdOrdersAndPurchaseOrdersService extends SPIBaseService implem } } - retMap.put("orderIdAndPurchaseOrderListMap", purchaseOrderListMap); - return R.ok(Ret.success(retMap)); + resultMap.put("orderIdAndPurchaseOrderListMap", purchaseOrderListMap); + return R.ok(Ret.success(resultMap)); } catch (Exception e) { log.error("同步分销采购单失败,原因:" + e.getMessage()); return R.ok(Ret.fail("同步分销采购单失败"));