From f3bfcd0a8c7a6fde337877945bcb4a436bcd8f2d Mon Sep 17 00:00:00 2001 From: "Stormeye.Wu" Date: Thu, 6 Sep 2018 23:36:28 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=80=80=E6=AC=BE=E5=9B=9E=E8=B0=83][?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D]:mchId=E6=AF=94=E8=BE=83=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/simple/service/impl/WxRefundOrderServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/simple/service/impl/WxRefundOrderServiceImpl.java b/mallinkService/src/main/java/com/simple/service/impl/WxRefundOrderServiceImpl.java index fcfcb5c78..6e1f63533 100644 --- a/mallinkService/src/main/java/com/simple/service/impl/WxRefundOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/simple/service/impl/WxRefundOrderServiceImpl.java @@ -664,7 +664,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService { logger.error("未找到mch_id信息:"+mchId); throw new MallinkException(ErrorCode.MCH_INFO_NOT_FOUND); } - if (mchId != payAccount.getMchId()) { + if (!mchId.equalsIgnoreCase(payAccount.getMchId())) { logger.error("mch_id不对应:"+mchId + ",account:" + payAccount.getMchId()); throw new MallinkException(ErrorCode.MCH_INFO_NOT_EQUAL); } @@ -755,7 +755,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService { logger.error("未找到mch_id信息:"+mchId); throw new MallinkException(ErrorCode.MCH_INFO_NOT_FOUND); } - if (mchId != payAccount.getMchId()) { + if (!mchId.equalsIgnoreCase(payAccount.getMchId())) { logger.error("mch_id不对应:"+mchId + ",account:" + payAccount.getMchId()); throw new MallinkException(ErrorCode.MCH_INFO_NOT_EQUAL); }