提交 f0a2ca4f authored 作者: huyufan's avatar huyufan

开发:账户金额查询

上级 1401bbd9
...@@ -1261,10 +1261,10 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -1261,10 +1261,10 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
//查询保证金和预付运费欠多少金额 //查询保证金和预付运费欠多少金额
for (OwnerAccount ownerAccount : accountList) { for (OwnerAccount ownerAccount : accountList) {
if (ownerAccount.getAccountType().equals(OwnerAccountEnum.AccountTypeStatus.MARGIN_ACCOUNT.getCode())) { if (ownerAccount.getAccountType().equals(OwnerAccountEnum.AccountTypeStatus.MARGIN_ACCOUNT.getCode())) {
build.setMarginArrearsOrderSumMoney(ownerAccount.getUsableBalance().subtract(marginArrearsOrder)); build.setMarginArrearsOrderSumMoney(marginArrearsOrder.subtract(ownerAccount.getUsableBalance()));
} }
if (ownerAccount.getAccountType().equals(OwnerAccountEnum.AccountTypeStatus.PREPAID_FREIGHT_ACCOUNT.getCode())) { if (ownerAccount.getAccountType().equals(OwnerAccountEnum.AccountTypeStatus.PREPAID_FREIGHT_ACCOUNT.getCode())) {
build.setPrepaidArrearsOrderSumMoney(ownerAccount.getUsableBalance().subtract(prepaidArrearsOrder)); build.setPrepaidArrearsOrderSumMoney(prepaidArrearsOrder.subtract(ownerAccount.getUsableBalance()));
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论