From b8e9ea10e67c3d89a634304fa694de7127815f21 Mon Sep 17 00:00:00 2001 From: liushaodong Date: Wed, 13 Nov 2019 11:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E6=88=90=E4=B8=BA=E5=95=86?= =?UTF-8?q?=E5=AE=B6=E4=B8=8D=E6=89=A3=E9=99=A4=E5=8F=AF=E7=94=A8=E4=BD=99?= =?UTF-8?q?=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/otc/service/impl/MarketApplyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java b/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java index 9ea15ab..89491a0 100644 --- a/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java +++ b/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java @@ -97,7 +97,7 @@ public class MarketApplyServiceImpl implements MarketApplyService { //市商申请id String applyId = insertAgreeMarketApply(userId, coinName, MarketApplyConstants.MARKET,amount.multiply(BigDecimal.valueOf(-1))); //冻结余额 - walletService.handleBalance(userId, applyId, coinName, UNIT_NAME, BigDecimal.ZERO, amount); + walletService.handleBalance(userId, applyId, coinName, UNIT_NAME, amount.negate(), amount); //增加余额变更记录 billService.insertBill(userId, applyId, BigDecimal.ZERO, amount, BillConstants.MARKET_USER, coinName); }