记得上下班打卡 | 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
00db674e
Commit
00db674e
authored
May 27, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin nft列表恢复
parent
9b0a5610
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
GoblinNftOrderMapper.xml
....liquidnet.service.goblin.mapper/GoblinNftOrderMapper.xml
+13
-12
No files found.
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinNftOrderMapper.xml
View file @
00db674e
...
...
@@ -3,12 +3,16 @@
<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
user_id,order_code,order_id,order_type,pay_type,price_actual,status,pay_time,created_at,sku_title as name
from goblin_nft_order
select
a.user_id,a.order_code,a.order_type,a.pay_type,a.price_actual,a.status,a.pay_time,a.created_at,
b.name,
c.trading_at, c.nft_id
from goblin_nft_order as a
left join goblin_goods_sku as b on b.sku_id = a.sku_id
left join goblin_user_digital_artwork as c on c.order_id = a.order_id and c.del_flg = '0'
<where>
<if
test=
"name!=''"
>
and
a.sku_titl
e like concat('%', #{name}, '%')
and
b.nam
e like concat('%', #{name}, '%')
</if>
<if
test=
"userId!=''"
>
and a.user_id = #{userId}
...
...
@@ -19,6 +23,9 @@
<if
test=
"orderCode!=''"
>
and a.order_code = #{orderCode}
</if>
<if
test=
"nftId!=''"
>
and c.nft_id = #{nftId}
</if>
<if
test=
"orderType != null and orderType!=''"
>
and a.order_type = #{orderType}
</if>
...
...
@@ -37,13 +44,7 @@
and a.pay_time
<![CDATA[<=]]>
#{payTimeEnd}
</if>
</where>
order by mid desc
) as a
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}
</if>
</where>
group by a.order_id
order by a.created_at desc
</select>
</mapper>
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