diff --git a/src/main/resources/cashMapper/CashCollectionMapper.xml b/src/main/resources/cashMapper/CashCollectionMapper.xml index 52818bc..b40c759 100644 --- a/src/main/resources/cashMapper/CashCollectionMapper.xml +++ b/src/main/resources/cashMapper/CashCollectionMapper.xml @@ -431,7 +431,7 @@ uwr.wallet_id, w.wallet_name as walletName, uwr.type, - uwr.amount, + uwr.amount/100 as amount, uwr.order_code as orderCode, uwr.description, uwr.status, diff --git a/src/main/resources/mapper/WalletMapper.xml b/src/main/resources/mapper/WalletMapper.xml index 65a0557..e7c3976 100644 --- a/src/main/resources/mapper/WalletMapper.xml +++ b/src/main/resources/mapper/WalletMapper.xml @@ -2,16 +2,16 @@ - update user_region_wallet set current_permanent_gold = {currentPermanentGold} where jwcode = {jwcode} and wallet_id = {walletId}} + update user_region_wallet set current_permanent_gold = #{currentPermanentGold} where jwcode = #{jwcode} and wallet_id = #{walletId}} - update user_wallet_record set status = 1 where id = {id} + update user_wallet_record set status = 1 where id = #{id} \ No newline at end of file