Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-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
赵啸非
attendance-performance-platform
Commits
098c7693
Commit
098c7693
authored
Jun 01, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员同步 不存在的人离职问题
parent
2c9b89ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/hik/door/service/impl/HikDoorServiceImpl.java
.../xhx/module/hik/door/service/impl/HikDoorServiceImpl.java
+2
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/hik/door/service/impl/HikDoorServiceImpl.java
View file @
098c7693
...
@@ -97,8 +97,8 @@ public class HikDoorServiceImpl extends AbstractHikService implements IHikDoorSe
...
@@ -97,8 +97,8 @@ public class HikDoorServiceImpl extends AbstractHikService implements IHikDoorSe
try
{
try
{
int
m_lSearchEventHandle
=
hCNetSDK
.
NET_DVR_StartRemoteConfig
(
userID
,
HCNetSDK
.
NET_DVR_GET_ACS_EVENT
,
ptrStruEventCond
,
struAcsEventCond
.
size
(),
null
,
null
);
int
m_lSearchEventHandle
=
hCNetSDK
.
NET_DVR_StartRemoteConfig
(
userID
,
HCNetSDK
.
NET_DVR_GET_ACS_EVENT
,
ptrStruEventCond
,
struAcsEventCond
.
size
(),
null
,
null
);
if
(
m_lSearchEventHandle
<=
-
1
)
{
if
(
m_lSearchEventHandle
<=
-
1
)
{
log
.
info
(
"NET_DVR_StartRemoteConfig调用失败,错误码
:{} ,考勤设备:{}"
,
hCNetSDK
.
NET_DVR_GetLastError
(),
doorEntity
.
getDept
Name
());
log
.
info
(
"NET_DVR_StartRemoteConfig调用失败,错误码
:{} ,考勤设备:{}"
,
hCNetSDK
.
NET_DVR_GetLastError
(),
doorEntity
.
getDevice
Name
());
throw
new
AppException
(
"NET_DVR_StartRemoteConfig调用失败,错误码
:
"
+
hCNetSDK
.
NET_DVR_GetLastError
());
throw
new
AppException
(
"NET_DVR_StartRemoteConfig调用失败,错误码
:
"
+
hCNetSDK
.
NET_DVR_GetLastError
());
}
}
HCNetSDK
.
NET_DVR_ACS_EVENT_CFG
struAcsEventCfg
=
new
HCNetSDK
.
NET_DVR_ACS_EVENT_CFG
();
HCNetSDK
.
NET_DVR_ACS_EVENT_CFG
struAcsEventCfg
=
new
HCNetSDK
.
NET_DVR_ACS_EVENT_CFG
();
struAcsEventCfg
.
read
();
struAcsEventCfg
.
read
();
...
...
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