Commit 4b296788 authored by hezhen's avatar hezhen

123

parent d7fbd133
...@@ -29,6 +29,9 @@ public class WalletCathSumDto { ...@@ -29,6 +29,9 @@ public class WalletCathSumDto {
//钱包id //钱包id
private Integer walletId; private Integer walletId;
//钱包版本
private Integer version;
......
...@@ -244,6 +244,7 @@ public class MyWalletBiz extends BaseBiz<MyWalletMapper, MyWallet> { ...@@ -244,6 +244,7 @@ public class MyWalletBiz extends BaseBiz<MyWalletMapper, MyWallet> {
sumDto.setBalance(myWallet.getBalance()); sumDto.setBalance(myWallet.getBalance());
sumDto.setProceduReates(proceduReates); sumDto.setProceduReates(proceduReates);
sumDto.setWalletId(myWallet.getId()); sumDto.setWalletId(myWallet.getId());
sumDto.setVersion(myWallet.getVersion());
return ObjectRestResponse.succ(sumDto); return ObjectRestResponse.succ(sumDto);
} }
...@@ -303,6 +304,7 @@ public class MyWalletBiz extends BaseBiz<MyWalletMapper, MyWallet> { ...@@ -303,6 +304,7 @@ public class MyWalletBiz extends BaseBiz<MyWalletMapper, MyWallet> {
myWallet.setUserId(userId); myWallet.setUserId(userId);
myWallet.setBalance(balnece); myWallet.setBalance(balnece);
myWallet.setWithdrawals(withdrawals); myWallet.setWithdrawals(withdrawals);
myWallet.setVersion(sumDto.getVersion());
mapper.updMyWater(myWallet); mapper.updMyWater(myWallet);
return ObjectRestResponse.succ(walletCath.getId()); return ObjectRestResponse.succ(walletCath.getId());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment