|
@@ -309,7 +309,7 @@ public class AccountRunningWaterServiceImpl extends ServiceImpl<AccountRunningWa
|
|
|
throw new ServiceException("修改后数据 该账户不存在此币种,请前往资金账户添加");
|
|
|
}
|
|
|
boolean update1 = false;
|
|
|
- if ("10".equals(oldAccountRunningWater.getStatus())) {
|
|
|
+ if ("10".equals(accountRunningWaterDto.getStatus())) {
|
|
|
update1 = accountRemainderService.update(q -> q
|
|
|
.setSql("remainder = remainder + " + accountRunningWaterDto.getAmount())
|
|
|
.setSql("change_remainder = " + accountRunningWaterDto.getAmount())
|
|
@@ -376,9 +376,6 @@ public class AccountRunningWaterServiceImpl extends ServiceImpl<AccountRunningWa
|
|
|
}
|
|
|
Assert.eqTrue(update, "余额操作失败操作失败");
|
|
|
|
|
|
- accountRemainderService.updateById(accountRemainder);
|
|
|
-
|
|
|
-
|
|
|
this.removeById(id);
|
|
|
}
|
|
|
|