Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
lei
fzm-joying
Commits
9feb1881
Commit
9feb1881
authored
Sep 15, 2021
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
转让列表加入转让类型字段
parent
065d9adf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
NftTransferDetailVo.java
...in/java/com/fzm/common/entity/vo/NftTransferDetailVo.java
+3
-0
NftTransferRecordMapper.xml
...mon/src/main/resources/mapper/NftTransferRecordMapper.xml
+5
-1
No files found.
joying-common/src/main/java/com/fzm/common/entity/vo/NftTransferDetailVo.java
View file @
9feb1881
...
...
@@ -33,6 +33,9 @@ public class NftTransferDetailVo {
@ApiModelProperty
(
"区块链高度"
)
private
Long
height
;
@ApiModelProperty
(
"转让类型 1-转出 2转入"
)
private
Integer
transferType
;
@ApiModelProperty
(
"创建日期"
)
private
Date
createDate
;
...
...
joying-common/src/main/resources/mapper/NftTransferRecordMapper.xml
View file @
9feb1881
...
...
@@ -44,7 +44,11 @@
a.create_date,
b.cover,
b.`name` AS nftName,
e.category_name AS category
e.category_name AS category,
case when a.from_address = #{wallet} then 1
else 2
end
as transferType
FROM tb_nft_transfer_record a
LEFT JOIN tb_nft b ON a.nft_id = b.id
LEFT JOIN tb_category e ON b.category_id = e.id
...
...
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