Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refined-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
refined-platform
Commits
ff88c2ff
Commit
ff88c2ff
authored
May 05, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加服务追踪
parent
968ab2d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
refined-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/SubEventStartedService.java
...xhx/daemon/applicationservice/SubEventStartedService.java
+7
-0
refined-manager/src/main/java/com/mortals/xhx/daemon/task/RealTimePeopleStatTaskImpl.java
...m/mortals/xhx/daemon/task/RealTimePeopleStatTaskImpl.java
+1
-1
refined-manager/src/main/java/com/mortals/xhx/module/hik/face/service/impl/HikFaceServiceImpl.java
.../xhx/module/hik/face/service/impl/HikFaceServiceImpl.java
+1
-1
No files found.
refined-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/SubEventStartedService.java
View file @
ff88c2ff
...
...
@@ -18,6 +18,7 @@ import com.mortals.xhx.module.hik.event.model.req.sub.EventSubReq;
import
com.mortals.xhx.module.hik.event.model.rsp.EventInfo
;
import
com.mortals.xhx.module.hik.event.service.IHikEventService
;
import
com.mortals.xhx.module.hik.face.model.req.group.FaceGroupReq
;
import
com.mortals.xhx.module.hik.face.model.req.img.ImgReq
;
import
com.mortals.xhx.module.hik.face.model.req.plan.PlanRecognListReq
;
import
com.mortals.xhx.module.hik.face.model.req.plan.PlanRecognReq
;
import
com.mortals.xhx.module.hik.face.model.rsp.group.FaceGroupDataInfo
;
...
...
@@ -105,6 +106,12 @@ public class SubEventStartedService implements IApplicationStartedService {
//创建陌生人计划
// facePlanService.createStrangerPlanByDay();
// ImgReq imgReq = new ImgReq();
///imgReq.setUrl("http://10.12.82.102:80/picture/Streaming/tracks/703/?name=ch00007_00000004885023469721600008659&size=8659");
// Rest<String> stringRest = hikFaceService.downloadPicture(imgReq);
//log.info(stringRest.getData());
//删除重点人员计划
/* PlanRecognListReq planRecognBlackListReq = new PlanRecognListReq();
Rest<List<PlanRecognInfo>> planRecognBlackRest = hikPlanService.findPlanRecognBlackList(planRecognBlackListReq);
...
...
refined-manager/src/main/java/com/mortals/xhx/daemon/task/RealTimePeopleStatTaskImpl.java
View file @
ff88c2ff
...
...
@@ -134,7 +134,7 @@ public class RealTimePeopleStatTaskImpl implements ITaskExcuteService {
}
return
null
;
}).
filter
(
f
->
f
!=
null
).
collect
(
toList
());
if
(
ObjectUtils
.
isEmpty
(
updateList
))
{
if
(
!
ObjectUtils
.
isEmpty
(
updateList
))
{
realtimeDataflowService
.
update
(
updateList
,
null
);
}
}
...
...
refined-manager/src/main/java/com/mortals/xhx/module/hik/face/service/impl/HikFaceServiceImpl.java
View file @
ff88c2ff
...
...
@@ -229,7 +229,7 @@ public class HikFaceServiceImpl extends AbstractHikService implements IHikFaceSe
try
{
log
.
info
(
"download img req=>{}"
,
JSON
.
toJSONString
(
imgReq
));
String
respJson
=
ArtemisHttpUtil
.
doPostStringArtemis
(
config
,
path
,
JSON
.
toJSONString
(
imgReq
),
null
,
null
,
"application/json"
);
//log.info("
face single add
resp=>{}", respJson);
//log.info("
download img
resp=>{}", respJson);
HikApiRest
<
String
>
rest
=
JSON
.
parseObject
(
respJson
,
new
TypeReference
<
HikApiRest
<
String
>>()
{
});
if
(
"0"
.
equals
(
rest
.
getCode
()))
{
...
...
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