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
d651a897
Commit
d651a897
authored
Jan 25, 2022
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
1faa50c7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
CopyrightApplyMapper.xml
...common/src/main/resources/mapper/CopyrightApplyMapper.xml
+1
-1
NftMapper.xml
joying-common/src/main/resources/mapper/NftMapper.xml
+4
-4
CopyrightApplyController.java
...a/com/fzm/portal/controller/CopyrightApplyController.java
+1
-1
No files found.
joying-common/src/main/resources/mapper/CopyrightApplyMapper.xml
View file @
d651a897
...
...
@@ -6,7 +6,7 @@
<select
id=
"list"
resultType=
"com.fzm.common.entity.CopyrightApply"
>
select * from tb_copyright_apply
<where>
user_id = #{userId}
user_id = #{userId}
and register_state != -2
<if
test=
"state == 1"
>
and register_state != 4
</if>
...
...
joying-common/src/main/resources/mapper/NftMapper.xml
View file @
d651a897
...
...
@@ -4,7 +4,7 @@
<select
id=
"list"
resultType=
"com.fzm.common.entity.Nft"
>
select * from tb_nft
where status = 1 and is_commemorate=0 and
nft_hash != ''
and user_id > 0
where status = 1 and is_commemorate=0 and
publish_status = 2
and user_id > 0
<if
test=
"categoryId != null and categoryId > 0"
>
and category_id=#{categoryId}
</if>
...
...
@@ -44,7 +44,7 @@
LEFT JOIN tb_user u ON n.publish_address = u.wallet
LEFT JOIN tb_category c ON n.category_id = c.id
WHERE
is_commemorate=0 and
nft_hash != ''
is_commemorate=0 and
publish_status = 2
<if
test=
"name != null and name != ''"
>
and n.name like concat ('%',#{name},'%')
</if>
...
...
@@ -84,7 +84,7 @@
a.is_commemorate,
b.category_name as category
from tb_nft a left join tb_category b on a.category_id = b.id
where a.user_id = #{userId} and
a.nft_hash != ''
where a.user_id = #{userId} and
publish_status = 2
<if
test=
"categoryId != null"
>
and a.category_id = #{categoryId}
</if>
...
...
@@ -100,7 +100,7 @@
a.is_commemorate
FROM tb_nft a
WHERE a.user_id = #{userId}
AND
a.nft_hash != ''
AND
publish_status = 2
AND nft_hash NOT IN ( SELECT nft_hash FROM tb_copyright_apply)
</select>
...
...
joying-portal/src/main/java/com/fzm/portal/controller/CopyrightApplyController.java
View file @
d651a897
...
...
@@ -60,7 +60,7 @@ public class CopyrightApplyController {
return
ResponseModel
.
success
(
result
);
}
//
@Authentication
@Authentication
@PostMapping
(
value
=
"/delete"
)
@ApiOperation
(
value
=
"删除"
)
public
ResponseModel
<
Boolean
>
delete
(
@RequestParam
Integer
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