记得上下班打卡 | 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
4704bc73
Commit
4704bc73
authored
Apr 01, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin NFT订单管理增加短订单号查询
parent
e4fb3a94
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
14 deletions
+22
-14
GoblinNftOrderListParam.java
...t/service/goblin/param/admin/GoblinNftOrderListParam.java
+2
-0
GoblinNftOrderRefundListParam.java
...ice/goblin/param/admin/GoblinNftOrderRefundListParam.java
+2
-0
GoblinNftOrderController.java
.../controller/zhengzai/goblin/GoblinNftOrderController.java
+3
-5
GoblinNftOrderMapper.xml
....liquidnet.service.goblin.mapper/GoblinNftOrderMapper.xml
+7
-4
GoblinNftOrderRefundMapper.xml
...dnet.service.goblin.mapper/GoblinNftOrderRefundMapper.xml
+8
-5
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/param/admin/GoblinNftOrderListParam.java
View file @
4704bc73
...
...
@@ -21,6 +21,8 @@ public class GoblinNftOrderListParam {
@ApiModelProperty
(
value
=
"藏品名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"短订单编号"
)
private
String
shortOrderCode
;
@ApiModelProperty
(
value
=
"订单编号"
)
private
String
orderCode
;
@ApiModelProperty
(
value
=
"发放HASH"
)
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/param/admin/GoblinNftOrderRefundListParam.java
View file @
4704bc73
...
...
@@ -21,6 +21,8 @@ public class GoblinNftOrderRefundListParam {
@ApiModelProperty
(
value
=
"藏品名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"短订单编号"
)
private
String
shortOrderCode
;
@ApiModelProperty
(
value
=
"订单编号"
)
private
String
orderCode
;
@ApiModelProperty
(
value
=
"发放HASH"
)
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/goblin/GoblinNftOrderController.java
View file @
4704bc73
...
...
@@ -33,14 +33,13 @@ public class GoblinNftOrderController extends BaseController {
private
GoblinNftOrderAdminServiceImpl
goblinNftOrderAdminService
;
// NFT订单列表
@RequiresPermissions
(
"goblin:nftOrder:list:view"
)
@GetMapping
(
"/orderView"
)
public
String
orderView
()
{
return
prefix
+
"/orderView"
;
}
@Log
(
title
=
"NFT订单"
,
businessType
=
BusinessType
.
LIST
)
@RequiresPermissions
(
"goblin:nftOrder:list
:data
"
)
@RequiresPermissions
(
"goblin:nftOrder:list"
)
@PostMapping
(
"/orderList"
)
@ResponseBody
public
TableDataInfo
orderList
(
GoblinNftOrderListParam
listParam
)
{
...
...
@@ -50,14 +49,13 @@ public class GoblinNftOrderController extends BaseController {
}
// NFT订单列表退款
@RequiresPermissions
(
"goblin:nftOrderRefund:list:view"
)
@GetMapping
(
"/orderRefundView"
)
public
String
orderRefundView
()
{
return
prefix
+
"/orderRefundView"
;
}
@Log
(
title
=
"NFT订单"
,
businessType
=
BusinessType
.
LIST
)
@RequiresPermissions
(
"goblin:nftOrderRefund:list
:data
"
)
@Log
(
title
=
"NFT
退款
订单"
,
businessType
=
BusinessType
.
LIST
)
@RequiresPermissions
(
"goblin:nftOrderRefund:list"
)
@PostMapping
(
"/refundList"
)
@ResponseBody
public
TableDataInfo
refundList
(
GoblinNftOrderRefundListParam
listParam
)
{
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinNftOrderMapper.xml
View file @
4704bc73
...
...
@@ -9,15 +9,18 @@
c.release_at, c.trading_txhash
from goblin_nft_order as a
join goblin_goods_sku as b on b.sku_id = a.sku_id
join goblin_digital_artwork as c on c.order_id = a.order_id
join goblin_
user_
digital_artwork as c on c.order_id = a.order_id
<where>
<if
test=
"name
!= null and name
!=''"
>
<if
test=
"name!=''"
>
and b.name like concat('%', #{name}, '%')
</if>
<if
test=
"orderCode != null and orderCode!=''"
>
<if
test=
"shortOrderCode!=''"
>
and b.order_code like concat('%', #{shortOrderCode}, '%')
</if>
<if
test=
"orderCode!=''"
>
and b.order_code = #{orderCode}
</if>
<if
test=
"tradingTxhash
!= null and tradingTxhash
!=''"
>
<if
test=
"tradingTxhash!=''"
>
and b.trading_txhash = #{tradingTxhash}
</if>
<if
test=
"orderType != null and orderType!=''"
>
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinNftOrderRefundMapper.xml
View file @
4704bc73
...
...
@@ -9,17 +9,20 @@
b.name,
c.release_at, c.trading_txhash
from goblin_nft_order_refund as d
join goblin_nft_order as a on
b
.order_id = d.order_id
join goblin_nft_order as a on
a
.order_id = d.order_id
join goblin_goods_sku as b on b.sku_id = a.sku_id
join goblin_digital_artwork as c on c.order_id = a.order_id
join goblin_
user_
digital_artwork as c on c.order_id = a.order_id
<where>
<if
test=
"name
!= null and name
!=''"
>
<if
test=
"name!=''"
>
and b.name like concat('%', #{name}, '%')
</if>
<if
test=
"orderCode != null and orderCode!=''"
>
<if
test=
"shortOrderCode!=''"
>
and b.order_code like concat('%', #{shortOrderCode}, '%')
</if>
<if
test=
"orderCode!=''"
>
and b.order_code = #{orderCode}
</if>
<if
test=
"tradingTxhash
!= null and tradingTxhash
!=''"
>
<if
test=
"tradingTxhash!=''"
>
and b.trading_txhash = #{tradingTxhash}
</if>
<if
test=
"orderType != null and 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