记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
74736f41
Commit
74736f41
authored
Jul 15, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin 后台nft订单 nft_id=>trading_txhash
parent
42c670e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
GoblinNftOrderMapper.xml
....liquidnet.service.goblin.mapper/GoblinNftOrderMapper.xml
+2
-2
GoblinNftOrderRefundMapper.xml
...dnet.service.goblin.mapper/GoblinNftOrderRefundMapper.xml
+2
-2
No files found.
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinNftOrderMapper.xml
View file @
74736f41
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<mapper
namespace=
"com.liquidnet.service.goblin.mapper.GoblinNftOrderMapper"
>
<mapper
namespace=
"com.liquidnet.service.goblin.mapper.GoblinNftOrderMapper"
>
<select
id=
"searchList"
resultType=
"com.liquidnet.service.goblin.dto.admin.GoblinNftOrderListDto"
>
<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,
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
status,pay_time,created_at,sku_title as name, mid, ex_code, box_sku_id
from goblin_nft_order
from goblin_nft_order
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
left join goblin_user_digital_artwork as c on c.order_id = a.order_id and c.del_flg = '0'
left join goblin_user_digital_artwork as c on c.order_id = a.order_id and c.del_flg = '0'
<where>
<where>
<if
test=
"nftId!=''"
>
<if
test=
"nftId!=''"
>
and c.
nft_id
= #{nftId}
and c.
trading_txhash
= #{nftId}
</if>
</if>
</where>
</where>
-- group by a.order_id
-- group by a.order_id
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinNftOrderRefundMapper.xml
View file @
74736f41
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
d.refund_code,d.price,d.status,d.refund_at,d.error_reason,d.created_at,
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,
a.user_id,a.order_code,a.order_type,a.pay_type,a.pay_time,a.created_at as order_created_at,
b.name,
b.name,
c.trading_at, c.nft_id
c.trading_at, c.
trading_txhash as
nft_id
from goblin_nft_order_refund as d
from goblin_nft_order_refund as d
left join goblin_nft_order as a on a.order_id = d.order_id
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
left join goblin_goods_sku as b on b.sku_id = a.sku_id
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
and a.order_code = #{orderCode}
and a.order_code = #{orderCode}
</if>
</if>
<if
test=
"nftId!=''"
>
<if
test=
"nftId!=''"
>
and c.
nft_id
= #{nftId}
and c.
trading_txhash
= #{nftId}
</if>
</if>
<if
test=
"orderType != null and orderType!=''"
>
<if
test=
"orderType != null and orderType!=''"
>
and a.order_type = #{orderType}
and a.order_type = #{orderType}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment