提交 7c0b149a authored 作者: huyufan's avatar huyufan

修改BUG

上级 8d3c8f00
...@@ -711,8 +711,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -711,8 +711,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
marginAccount.setRelationId(null); marginAccount.setRelationId(null);
marginAccount.setAlterationBalance(ensureBalance); marginAccount.setAlterationBalance(ensureBalance);
marginAccount.setFrozenBalance(ownerAccount.getFrozenBalance().add(ensureBalance)); marginAccount.setFrozenBalance(ownerAccount.getFrozenBalance());
marginAccount.setUsableBalance(ownerAccount.getUsableBalance().subtract(ensureBalance)); marginAccount.setUsableBalance(ownerAccount.getUsableBalance());
marginAccount.setTakeOutBalance(BigDecimal.ZERO); marginAccount.setTakeOutBalance(BigDecimal.ZERO);
marginAccount.setAccountBalance(ownerAccount.getAccountBalance()); marginAccount.setAccountBalance(ownerAccount.getAccountBalance());
marginAccount.setOwnerUserNo(userNo); marginAccount.setOwnerUserNo(userNo);
...@@ -732,8 +732,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -732,8 +732,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
prepaidFreight.setRelationId(null); prepaidFreight.setRelationId(null);
prepaidFreight.setAlterationBalance(frozenBalance); prepaidFreight.setAlterationBalance(frozenBalance);
prepaidFreight.setFrozenBalance(ownerAccount.getFrozenBalance().add(frozenBalance)); prepaidFreight.setFrozenBalance(ownerAccount.getFrozenBalance());
prepaidFreight.setUsableBalance(ownerAccount.getUsableBalance().subtract(frozenBalance)); prepaidFreight.setUsableBalance(ownerAccount.getUsableBalance());
prepaidFreight.setTakeOutBalance(BigDecimal.ZERO); prepaidFreight.setTakeOutBalance(BigDecimal.ZERO);
prepaidFreight.setAccountBalance(ownerAccount.getAccountBalance()); prepaidFreight.setAccountBalance(ownerAccount.getAccountBalance());
prepaidFreight.setOwnerUserNo(userNo); prepaidFreight.setOwnerUserNo(userNo);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论