Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
site-project
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
site-project
Commits
9e4dacf8
Commit
9e4dacf8
authored
Jan 02, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看我的投稿接口
parent
da8bbd1c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
cloud-site-api/src/main/java/com/yizhi/site/application/vo/site/PublicationParamVO.java
+3
-0
cloud-site-service/src/main/resources/mapper/PublicationMapper.xml
+3
-0
No files found.
cloud-site-api/src/main/java/com/yizhi/site/application/vo/site/PublicationParamVO.java
View file @
9e4dacf8
...
...
@@ -38,6 +38,9 @@ public class PublicationParamVO extends ContextVO {
@ApiModelProperty
(
value
=
"类型级别"
)
private
Long
level
;
@ApiModelProperty
(
value
=
"创建人"
)
private
Long
createById
;
@ApiModelProperty
(
value
=
"发布时间的起点"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
start
;
...
...
cloud-site-service/src/main/resources/mapper/PublicationMapper.xml
View file @
9e4dacf8
...
...
@@ -58,6 +58,9 @@
<if
test=
"author != null"
>
and a.author like CONCAT('%', '${author}', '%' )
</if>
<if
test=
"createById != null"
>
and a.create_by_id = #{createById}
</if>
<if
test=
"level != null and level == 1"
>
and a.type_one=#{typeId}
</if>
...
...
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