From ddffe04d73c14ba947e6cd0e344e5bbaa8769e7b Mon Sep 17 00:00:00 2001 From: duhui Date: Wed, 16 Jun 2021 11:11:08 +0800 Subject: [PATCH] =?UTF-8?q?gm=E6=89=B6=E6=8C=81=E5=8F=91=E9=80=81=E7=A4=BC?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ljsd/jieling/logic/store/BuyGoodsNewLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsNewLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsNewLogic.java index 8f8813626..59fb73aaf 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsNewLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/store/BuyGoodsNewLogic.java @@ -172,7 +172,7 @@ public class BuyGoodsNewLogic { double priceTemp =config.getPrice(); int cfgType = SSpecialConfig.getIntegerValue(SSpecialConfig.EXCHANGE_FORCE_TYPE); double price = priceTemp==0?0: SExchangeRate.doubleIntegerHashMap.get(cfgType).get((int)priceTemp); - if(amount!=-999&&!MathUtils.doubleEquals(amount,price * 100)){ + if(amount!=-999&&!MathUtils.doubleEquals(amount,price * 100)&&!orderId.equals("support-order")){ resultRes.setResultCode(0); resultRes.setResultMsg("charge count error"); LOGGER.error("charge count error, uid={},the goodId={}, currentPrice={},realPrice={}",uid,goodsId, amount,price);