Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
VVAS-Match
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3c823403
authored
Jun 21, 2022
by
李乾广
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg]修改日志级别
1 parent
960aa686
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
src/main/java/com/viontech/match/service/PersonService.java
src/main/resources/application-option.properties
src/main/java/com/viontech/match/service/PersonService.java
View file @
3c82340
package
com
.
viontech
.
match
.
service
;
package
com
.
viontech
.
match
.
service
;
import
com.alibaba.fastjson.JSON
;
import
com.viontech.keliu.model.BodyFeature
;
import
com.viontech.keliu.model.BodyFeature
;
import
com.viontech.keliu.model.FaceFeature
;
import
com.viontech.keliu.model.FaceFeature
;
import
com.viontech.keliu.model.Person
;
import
com.viontech.keliu.model.Person
;
...
@@ -203,7 +204,7 @@ public class PersonService {
...
@@ -203,7 +204,7 @@ public class PersonService {
}
}
success
.
setMatch
(
1
);
success
.
setMatch
(
1
);
success
.
setPersonPoolStatus
(
poolStatus
);
success
.
setPersonPoolStatus
(
poolStatus
);
log
.
info
(
"人员匹配操作完成,PoolIds:[{}}
"
,
poolIds
);
log
.
info
(
"人员匹配操作完成,PoolIds:[{}}
, {}"
,
poolIds
,
JSON
.
toJSONString
(
poolStatus
)
);
return
success
;
return
success
;
}
catch
(
ElasticsearchStatusException
e
)
{
}
catch
(
ElasticsearchStatusException
e
)
{
if
(
e
.
status
()
==
RestStatus
.
BAD_REQUEST
&&
e
.
getDetailedMessage
().
contains
(
Constant
.
CLASS_CAST_EXCEPTION
))
{
if
(
e
.
status
()
==
RestStatus
.
BAD_REQUEST
&&
e
.
getDetailedMessage
().
contains
(
Constant
.
CLASS_CAST_EXCEPTION
))
{
...
...
src/main/resources/application-option.properties
View file @
3c82340
...
@@ -12,4 +12,6 @@ vion.index.number_of_shards=1
...
@@ -12,4 +12,6 @@ vion.index.number_of_shards=1
vion.index.number_of_replicas
=
0
vion.index.number_of_replicas
=
0
#delete-pool-after-days\u51E0\u5929\u540E\u5220\u9664\u5929\u6570\u914D\u7F6E
#delete-pool-after-days\u51E0\u5929\u540E\u5220\u9664\u5929\u6570\u914D\u7F6E
delete.after.days
=
5
\ No newline at end of file
\ No newline at end of file
delete.after.days
=
5
logging.level.com.viontech.match
=
info
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment