添加冻结金额字段

This commit is contained in:
lu7213 committed 2026-10-13 05:15:37 -04:00
1 parent 2602897c23
commit cdf32a86cb
4 files changed
+68 -1

No files matched your search

@@ -15,6 +15,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="deletedAt" column="deleted_at" />
<result property="trxBalance" column="trx_balance" />
<result property="usdtBalance" column="usdt_balance" />
<result property="usdtFrozenBalance" column="usdt_frozen_balance" />
<result property="trxFrozenBalance" column="trx_frozen_balance" />
<result property="publicKey" column="public_key" />
<result property="privateKey" column="private_key" />
<result property="creditLimit" column="credit_limit" />
@@ -26,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectAppsVo">
select id, user_id, name, description, status, created_at, updated_at, deleted_at, trx_balance, usdt_balance, public_key, private_key, credit_limit, google_sub, google_email, google_name, google_picture, dist_token_address from apps
select id, user_id, name, description, status, created_at, updated_at, deleted_at, trx_balance, usdt_balance, usdt_frozen_balance, trx_frozen_balance, public_key, private_key, credit_limit, google_sub, google_email, google_name, google_picture, dist_token_address from apps
</sql>
<select id="lockUserById" resultType="Long">
@@ -50,6 +52,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deletedAt != null "> and deleted_at = #{deletedAt}</if>
<if test="trxBalance != null "> and trx_balance = #{trxBalance}</if>
<if test="usdtBalance != null "> and usdt_balance = #{usdtBalance}</if>
<if test="usdtFrozenBalance != null "> and usdt_frozen_balance = #{usdtFrozenBalance}</if>
<if test="trxFrozenBalance != null "> and trx_frozen_balance = #{trxFrozenBalance}</if>
<if test="publicKey != null and publicKey != ''"> and public_key = #{publicKey}</if>
<if test="creditLimit != null "> and credit_limit = #{creditLimit}</if>
<if test="googleSub != null and googleSub != ''"> and google_sub = #{googleSub}</if>
@@ -98,6 +102,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deletedAt != null">deleted_at,</if>
<if test="trxBalance != null">trx_balance,</if>
<if test="usdtBalance != null">usdt_balance,</if>
<if test="usdtFrozenBalance != null">usdt_frozen_balance,</if>
<if test="trxFrozenBalance != null">trx_frozen_balance,</if>
<if test="publicKey != null">public_key,</if>
<if test="privateKey != null">private_key,</if>
<if test="creditLimit != null">credit_limit,</if>
@@ -117,6 +123,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deletedAt != null">#{deletedAt},</if>
<if test="trxBalance != null">#{trxBalance},</if>
<if test="usdtBalance != null">#{usdtBalance},</if>
<if test="usdtFrozenBalance != null">#{usdtFrozenBalance},</if>
<if test="trxFrozenBalance != null">#{trxFrozenBalance},</if>
<if test="publicKey != null">#{publicKey},</if>
<if test="privateKey != null">#{privateKey},</if>
<if test="creditLimit != null">#{creditLimit},</if>
@@ -140,6 +148,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deletedAt != null">deleted_at = #{deletedAt},</if>
<if test="trxBalance != null">trx_balance = #{trxBalance},</if>
<if test="usdtBalance != null">usdt_balance = #{usdtBalance},</if>
<if test="usdtFrozenBalance != null">usdt_frozen_balance = #{usdtFrozenBalance},</if>
<if test="trxFrozenBalance != null">trx_frozen_balance = #{trxFrozenBalance},</if>
<if test="publicKey != null">public_key = #{publicKey},</if>
<if test="privateKey != null">private_key = #{privateKey},</if>
<if test="creditLimit != null">credit_limit = #{creditLimit},</if>