|
|
@ -97,7 +97,7 @@ public class MarketApplyServiceImpl implements MarketApplyService { |
|
|
|
//市商申请id
|
|
|
|
//市商申请id
|
|
|
|
String applyId = insertAgreeMarketApply(userId, coinName, MarketApplyConstants.MARKET,amount.multiply(BigDecimal.valueOf(-1))); |
|
|
|
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); |
|
|
|
billService.insertBill(userId, applyId, BigDecimal.ZERO, amount, BillConstants.MARKET_USER, coinName); |
|
|
|
} |
|
|
|
} |
|
|
|