Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
3265528c
Commit
3265528c
authored
Dec 09, 2020
by
unset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改banner接口
parent
f9ae2d52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
SearchBiz.java
...r/src/main/java/com/xxfc/platform/uccn/biz/SearchBiz.java
+0
-20
No files found.
xx-uccn/xx-uccn-server/src/main/java/com/xxfc/platform/uccn/biz/SearchBiz.java
View file @
3265528c
...
...
@@ -2,7 +2,6 @@ package com.xxfc.platform.uccn.biz;
import
cn.hutool.core.util.ArrayUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.github.pagehelper.PageInfo
;
import
com.github.wxiaoqi.security.common.exception.BaseException
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.vo.PageDataVO
;
...
...
@@ -12,7 +11,6 @@ import com.xxfc.platform.campsite.vo.CampsiteShopPageVo;
import
com.xxfc.platform.tour.entity.TourGood
;
import
com.xxfc.platform.tour.feign.TourFeign
;
import
com.xxfc.platform.uccn.comstnt.ServiceConstant
;
import
com.xxfc.platform.uccn.entity.Article
;
import
com.xxfc.platform.uccn.vo.SearchResultVo
;
import
com.xxfc.platform.uccn.vo.ServiceResultVo
;
import
com.xxfc.platform.uccn.vo.SummitActivityVo
;
...
...
@@ -198,25 +196,7 @@ public class SearchBiz {
}
}
});
//新闻
threadPoolTaskExecutor
.
execute
(
new
Runnable
()
{
@Override
public
void
run
()
{
try
{
ServiceResultVo
<
Article
>
articleServiceResultVo
=
new
ServiceResultVo
<>();
PageInfo
articleList
=
articleBiz
.
getArticleList
(
1
,
ServiceConstant
.
NEWS_LIMIT
,
1
,
keyWord
);
List
<
Article
>
result
=
articleList
==
null
?
Collections
.
EMPTY_LIST
:
articleList
.
getList
()
==
null
?
Collections
.
EMPTY_LIST
:
articleList
.
getList
();
articleServiceResultVo
.
setData
(
result
);
articleServiceResultVo
.
setTotalCount
(
articleList
.
getTotal
());
searchResultVo
.
put
(
ServiceConstant
.
NEWS
,
articleServiceResultVo
);
}
catch
(
Exception
ex
)
{
ex
.
printStackTrace
();
}
finally
{
latch
.
countDown
();
}
}
});
try
{
latch
.
await
();
}
catch
(
InterruptedException
e
)
{
...
...
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