|
|
|
@ -2,8 +2,8 @@ |
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
|
|
<mapper namespace="com.example.demo.mapper.coin.WalletMapper"> |
|
|
|
<insert id="addUserWalletRecord"> |
|
|
|
insert into user_wallet_record(jwcode, wallet_id, type, amount, order_code, description, status) |
|
|
|
values(#{jwcode}, #{walletId}, #{type}, #{amount}, #{orderCode}, #{description}, 1) |
|
|
|
insert into user_wallet_record(jwcode, wallet_id, type, transaction_currency, amount, order_code, description, status) |
|
|
|
values(#{jwcode}, #{walletId}, #{type}, #{transactionCurrency}, #{amount}, #{orderCode}, #{description}, 1) |
|
|
|
</insert> |
|
|
|
<insert id="insert"> |
|
|
|
insert into user_region_wallet(jwcode, wallet_id, current_permanent_gold) |
|
|
|
@ -45,6 +45,7 @@ |
|
|
|
select jwcode, |
|
|
|
wallet_id, |
|
|
|
type, |
|
|
|
transaction_currency, |
|
|
|
amount, |
|
|
|
order_code, |
|
|
|
description, |
|
|
|
|