orders 添加字段wallet_user_name

This commit is contained in:
lu7213 committed 2026-10-14 05:32:05 -04:00
1 parent abdafd5c9d
commit 2d88b77325
4 files changed
+38 -2

No files matched your search

@@ -12,6 +12,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="actualAmount" column="actual_amount" />
<result property="amount" column="amount" />
<result property="token" column="token" />
<result property="walletUserName" column="wallet_user_name" />
<result property="status" column="status" />
<result property="notifyUrl" column="notify_url" />
<result property="redirectUrl" column="redirect_url" />
@@ -27,7 +28,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectUsdtOrdersVo">
select id, trade_id, order_id,order_type, block_transaction_id, actual_amount, amount, token, status, notify_url, redirect_url, callback_num, callback_confirm, created_at, updated_at, deleted_at, app_id, settlement_status, user_id from orders
select id, trade_id, order_id, order_type, block_transaction_id, actual_amount, amount,
token, wallet_user_name, status, notify_url, redirect_url, callback_num,
callback_confirm, created_at, updated_at, deleted_at, app_id, settlement_status, user_id
from orders
</sql>
<select id="selectUsdtOrdersList" parameterType="UsdtOrders" resultMap="UsdtOrdersResult">
@@ -36,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="tradeId != null and tradeId != ''"> and trade_id like concat('%', #{tradeId}, '%')</if>
<if test="orderId != null and orderId != ''"> and order_id like concat('%', #{orderId}, '%')</if>
<if test="token != null and token != ''"> and token = #{token}</if>
<if test="walletUserName != null and walletUserName != ''"> and wallet_user_name like concat('%', #{walletUserName}, '%')</if>
<if test="status != null "> and status = #{status}</if>
<if test="callbackConfirm != null "> and callback_confirm = #{callbackConfirm}</if>
<if test="appId != null "> and app_id = #{appId}</if>
@@ -51,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectByIdForUpdate" resultType="com.ruoyi.system.domain.UsdtOrdersPlus">
select id, trade_id, order_id, block_transaction_id, actual_amount, amount, token,
select id, trade_id, order_id, block_transaction_id, actual_amount, amount, token, wallet_user_name,
status, notify_url, redirect_url, callback_num, callback_confirm, created_at,
updated_at, deleted_at, app_id, settlement_status, user_id, order_type
from orders
@@ -120,6 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="actualAmount != null">actual_amount,</if>
<if test="amount != null">amount,</if>
<if test="token != null and token != ''">token,</if>
<if test="walletUserName != null and walletUserName != ''">wallet_user_name,</if>
<if test="status != null">status,</if>
<if test="notifyUrl != null and notifyUrl != ''">notify_url,</if>
<if test="redirectUrl != null">redirect_url,</if>
@@ -140,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="actualAmount != null">#{actualAmount},</if>
<if test="amount != null">#{amount},</if>
<if test="token != null and token != ''">#{token},</if>
<if test="walletUserName != null and walletUserName != ''">#{walletUserName},</if>
<if test="status != null">#{status},</if>
<if test="notifyUrl != null and notifyUrl != ''">#{notifyUrl},</if>
<if test="redirectUrl != null">#{redirectUrl},</if>
@@ -164,6 +171,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="actualAmount != null">actual_amount = #{actualAmount},</if>
<if test="amount != null">amount = #{amount},</if>
<if test="token != null and token != ''">token = #{token},</if>
<if test="walletUserName != null">wallet_user_name = #{walletUserName},</if>
<if test="status != null">status = #{status},</if>
<if test="notifyUrl != null and notifyUrl != ''">notify_url = #{notifyUrl},</if>
<if test="redirectUrl != null">redirect_url = #{redirectUrl},</if>