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); }