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
7a6ba0d8
Commit
7a6ba0d8
authored
May 15, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加定时删除七天前的人流数据
parent
274581b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
refined-manager/src/main/java/com/mortals/xhx/daemon/task/CreateAppointPersonToHikBlackPlanByDayTaskImpl.java
.../task/CreateAppointPersonToHikBlackPlanByDayTaskImpl.java
+1
-1
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/face/service/impl/FacePlanServiceImpl.java
...als/xhx/module/face/service/impl/FacePlanServiceImpl.java
+2
-2
No files found.
refined-manager/src/main/java/com/mortals/xhx/daemon/task/CreateAppointPersonToHikBlackPlanByDayTaskImpl.java
View file @
7a6ba0d8
...
...
@@ -26,7 +26,7 @@ import org.springframework.stereotype.Service;
* @date: 2023/5/9 13:44
*/
@Slf4j
@Service
(
"CreateAppointPersonToHikBlackPlanByDay"
)
//
@Service("CreateAppointPersonToHikBlackPlanByDay")
public
class
CreateAppointPersonToHikBlackPlanByDayTaskImpl
implements
ITaskExcuteService
{
@Autowired
...
...
refined-manager/src/main/java/com/mortals/xhx/daemon/task/RealTimePeopleStatTaskImpl.java
View file @
7a6ba0d8
...
...
@@ -59,7 +59,7 @@ public class RealTimePeopleStatTaskImpl implements ITaskExcuteService {
realtimeDataflowQuery
.
setCreateTimeEnd
(
endTimeStr
);
List
<
RealtimeDataflowEntity
>
realtimeDataflowEntities
=
realtimeDataflowService
.
find
(
realtimeDataflowQuery
,
null
);
log
.
info
(
"定时删除人流数据,endTimeStr:{},size:{}"
,
endTimeStr
,
realtimeDataflowEntities
.
size
());
if
(
ObjectUtils
.
isEmpty
(
realtimeDataflowEntities
))
{
if
(
!
ObjectUtils
.
isEmpty
(
realtimeDataflowEntities
))
{
log
.
info
(
"需要删除的实时监控数据量:{}"
,
realtimeDataflowEntities
.
size
());
Long
[]
delIds
=
realtimeDataflowEntities
.
stream
().
map
(
i
->
i
.
getId
()).
toArray
(
Long
[]::
new
);
realtimeDataflowStatService
.
remove
(
delIds
,
null
);
...
...
refined-manager/src/main/java/com/mortals/xhx/module/face/service/impl/FacePlanServiceImpl.java
View file @
7a6ba0d8
...
...
@@ -337,9 +337,9 @@ public class FacePlanServiceImpl extends AbstractCRUDServiceImpl<FacePlanDao, Fa
//创建人脸tohik
for
(
AppointmentPersonEntity
appointmentPersonEntity
:
appointmentPersonEntities
)
{
PersonEntity
personEntity
=
personService
.
getCache
(
appointmentPersonEntity
.
get
PersonId
().
toString
());
PersonEntity
personEntity
=
personService
.
getCache
(
appointmentPersonEntity
.
get
IdCard
());
if
(
ObjectUtils
.
isEmpty
(
personEntity
))
{
log
.
info
(
"注册人员不能为空,
persionId:{}"
,
appointmentPersonEntity
.
getPersonI
d
());
log
.
info
(
"注册人员不能为空,
idcard:{}"
,
appointmentPersonEntity
.
getIdCar
d
());
continue
;
}
//查询图片并转成base64
...
...
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