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
7d1b7c1e
Commit
7d1b7c1e
authored
Dec 23, 2024
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门户搜素接口
parent
ed22fa00
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
6 deletions
+15
-6
cloud-site-api/src/main/java/com/yizhi/site/application/vo/domain/DataClassificationVo.java
+3
-0
cloud-site-api/src/main/java/com/yizhi/site/application/vo/site/InfomationParamReleaseVO.java
+6
-0
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/DataClassificationServiceImpl.java
+0
-6
cloud-site-service/src/main/resources/mapper/InformationMapper.xml
+6
-0
No files found.
cloud-site-api/src/main/java/com/yizhi/site/application/vo/domain/DataClassificationVo.java
View file @
7d1b7c1e
...
...
@@ -67,6 +67,9 @@ public class DataClassificationVo {
@ApiModelProperty
(
value
=
"子新闻分类"
)
private
List
<
DataClassificationVo
>
childClassifyNews
;
@ApiModelProperty
(
value
=
"咨询文章信息"
)
private
List
<
InformationVo
>
informationVoList
;
protected
Serializable
pkVal
()
{
return
this
.
id
;
}
...
...
cloud-site-api/src/main/java/com/yizhi/site/application/vo/site/InfomationParamReleaseVO.java
View file @
7d1b7c1e
...
...
@@ -22,6 +22,12 @@ public class InfomationParamReleaseVO extends ContextVO {
@ApiModelProperty
(
value
=
"类型"
)
private
Long
typeId
;
@ApiModelProperty
(
value
=
"类型2"
)
private
Long
typeTwoId
;
@ApiModelProperty
(
value
=
"类型2"
)
private
Long
typeThreeId
;
@ApiModelProperty
(
value
=
"自定义关键字"
)
private
String
keyWords
;
...
...
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/DataClassificationServiceImpl.java
View file @
7d1b7c1e
...
...
@@ -153,12 +153,6 @@ public class DataClassificationServiceImpl extends ServiceImpl<DataClassificatio
vo
.
setData
(
selectVoByMap
);
}
}
// 名称检索
if
(
CollectionUtil
.
isNotEmpty
(
list
)){
if
(
ObjectUtils
.
isNotEmpty
(
siteComponyIdVO
.
getBannerName
())){
list
=
list
.
stream
().
filter
(
a
->
ObjectUtils
.
isNotEmpty
(
a
.
getName
())&&
a
.
getName
().
indexOf
(
siteComponyIdVO
.
getBannerName
())>=
0
).
collect
(
Collectors
.
toList
());
}
}
return
list
;
}
...
...
cloud-site-service/src/main/resources/mapper/InformationMapper.xml
View file @
7d1b7c1e
...
...
@@ -52,6 +52,12 @@
<if
test=
"end != null"
>
and #{end} >= a.release_time
</if>
<if
test=
"null != typeTwoId"
>
and a.type_two = #{typeTwoId}
</if>
<if
test=
"null != typeThreeId"
>
and a.type_three = #{typeThreeId}
</if>
<if
test=
"null != state"
>
and a.state = #{state}
</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