记得上下班打卡 | git大法好,push需谨慎

Commit 74736f41 authored by jiangxiulong's avatar jiangxiulong

admin 后台nft订单 nft_id=>trading_txhash

parent 42c670e1
......@@ -3,7 +3,7 @@
<mapper namespace="com.liquidnet.service.goblin.mapper.GoblinNftOrderMapper">
<select id="searchList" resultType="com.liquidnet.service.goblin.dto.admin.GoblinNftOrderListDto">
select c.trading_at, c.nft_id, a.* from (select
select c.trading_at, c.trading_txhash as nft_id, a.* from (select
user_id,order_code,order_id,order_type,pay_type,price_actual,
status,pay_time,created_at,sku_title as name, mid, ex_code, box_sku_id
from goblin_nft_order
......@@ -48,7 +48,7 @@
left join goblin_user_digital_artwork as c on c.order_id = a.order_id and c.del_flg = '0'
<where>
<if test="nftId!=''">
and c.nft_id = #{nftId}
and c.trading_txhash = #{nftId}
</if>
</where>
-- group by a.order_id
......
......@@ -7,7 +7,7 @@
d.refund_code,d.price,d.status,d.refund_at,d.error_reason,d.created_at,
a.user_id,a.order_code,a.order_type,a.pay_type,a.pay_time,a.created_at as order_created_at,
b.name,
c.trading_at, c.nft_id
c.trading_at, c.trading_txhash as nft_id
from goblin_nft_order_refund as d
left join goblin_nft_order as a on a.order_id = d.order_id
left join goblin_goods_sku as b on b.sku_id = a.sku_id
......@@ -26,7 +26,7 @@
and a.order_code = #{orderCode}
</if>
<if test="nftId!=''">
and c.nft_id = #{nftId}
and c.trading_txhash = #{nftId}
</if>
<if test="orderType != null and orderType!=''">
and a.order_type = #{orderType}
......
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