Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
4b120988
Commit
4b120988
authored
Oct 18, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.巡检启动报错
parent
26c9b751
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CheckRecordDataConsumer.java
...in/amos/patrol/business/data/CheckRecordDataConsumer.java
+1
-1
ElasticSearchRestTemplateConfig.java
...n/amos/patrol/config/ElasticSearchRestTemplateConfig.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/java/com/yeejoin/amos/patrol/business/data/CheckRecordDataConsumer.java
View file @
4b120988
...
...
@@ -75,8 +75,8 @@ public class CheckRecordDataConsumer implements Runnable {
public
void
run
()
{
while
(
true
)
{
try
{
this
.
setRequestContext
();
CheckRecordDataDto
checkRecordDataDto
=
blockingQueue
.
take
();
this
.
setRequestContext
();
this
.
save2Db
(
checkRecordDataDto
);
}
catch
(
Exception
e
)
{
log
.
error
(
"入库失败"
,
e
);
...
...
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/java/com/yeejoin/amos/patrol/config/ElasticSearchRestTemplateConfig.java
View file @
4b120988
...
...
@@ -7,7 +7,7 @@ import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
import
org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories
;
@Configuration
@EnableElasticsearchRepositories
(
basePackages
=
{
"com.yeejoin.amos.boot.module.common.biz.dao"
,
"com.yeejoin.amos.patrol.business.dao.repository"
})
@EnableElasticsearchRepositories
(
basePackages
=
{
"com.yeejoin.amos.boot.module.common.biz.dao"
,
"com.yeejoin.amos.patrol.business.dao.repository"
,
"com.yeejoin.amos.boot.module.common.api.dao"
})
public
class
ElasticSearchRestTemplateConfig
{
...
...
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