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
8a651b8a
Commit
8a651b8a
authored
Mar 19, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/attendance-performance-platform
parents
588b8e53
a3d92a04
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
108 deletions
+32
-108
attendance-performance-manager/pom.xml
attendance-performance-manager/pom.xml
+29
-105
attendance-performance-manager/src/main/bin/start.sh
attendance-performance-manager/src/main/bin/start.sh
+2
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/task/SyncDoorsEventTaskImpl.java
...a/com/mortals/xhx/daemon/task/SyncDoorsEventTaskImpl.java
+1
-1
No files found.
attendance-performance-manager/pom.xml
View file @
8a651b8a
...
...
@@ -14,58 +14,53 @@
<version>
1.0.0-SNAPSHOT
</version>
</parent>
<properties>
<!-- 默认值 -->
<profiles.server.debug></profiles.server.debug>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
info
</profiles.log.level>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.hik.host></profiles.hik.host>
<profiles.hik.protocol></profiles.hik.protocol>
<profiles.hik.appKey></profiles.hik.appKey>
<profiles.hik.appSecret></profiles.hik.appSecret>
<profiles.dingtalk.domain></profiles.dingtalk.domain>
<profiles.dingtalk.oaScheme></profiles.dingtalk.oaScheme>
<profiles.dingtalk.oaUrl></profiles.dingtalk.oaUrl>
<profiles.dingtalk.agentId></profiles.dingtalk.agentId>
<profiles.dingtalk.appKey></profiles.dingtalk.appKey>
<profiles.dingtalk.appSecret></profiles.dingtalk.appSecret>
<profiles.dingtalk.aesKey></profiles.dingtalk.aesKey>
<profiles.dingtalk.token></profiles.dingtalk.token>
<profiles.dingtalk.opUserId></profiles.dingtalk.opUserId>
<profiles.webUrl></profiles.webUrl>
<package.environment>
build
</package.environment>
</properties>
<profiles>
<profile>
<id>
develop
</id>
<properties>
<profiles.active>
develop
</profiles.active>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.debug.port>
51750
</profiles.server.debug.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.nacos.server-addr>
127.0.0.1:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
info
</profiles.log.level>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.sms.smsSendUrl>
http://127.0.0.1:8089/api/index/index
</profiles.sms.smsSendUrl>
<profiles.sms.apiId>
k6BVS1PEbyzcJAE4
</profiles.sms.apiId>
<profiles.hik.host>
8.136.255.30:8001
</profiles.hik.host>
<profiles.hik.protocol>
http://
</profiles.hik.protocol>
<profiles.hik.appKey>
25128371
</profiles.hik.appKey>
<profiles.hik.appSecret>
2m9RcPJOKq5j2QPQM4v5
</profiles.hik.appSecret>
<profiles.dingtalk.domain>
https://oapi.dingtalk.com
</profiles.dingtalk.domain>
<profiles.dingtalk.oaUrl>
api.dingtalk.com
</profiles.dingtalk.oaUrl>
<profiles.dingtalk.agentId>
2652674890
</profiles.dingtalk.agentId>
<profiles.dingtalk.appKey>
dingpqzradgfr4efdi2j
</profiles.dingtalk.appKey>
<profiles.dingtalk.appSecret>
bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd
</profiles.dingtalk.appSecret>
<profiles.dingtalk.aesKey>
1QcPYuSpAc98OS3qQwwx5HPH85CZDidxF95yBGad2fJ
</profiles.dingtalk.aesKey>
<profiles.dingtalk.token>
m3WeuVx5kcTY76kh22uWZOTSu0XjvcwNhd
</profiles.dingtalk.token>
<profiles.dingtalk.opUserId>
254868153920685466
</profiles.dingtalk.opUserId>
<profiles.webUrl>
http://8.136.255.30:11039/attendance
</profiles.webUrl>
<package.environment>
serve
</package.environment>
<skipUi>
false
</skipUi>
<skipUi>
ture
</skipUi>
</properties>
</profile>
<profile>
<id>
test
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<profiles.active>
test
</profiles.active>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.debug.port>
51750
</profiles.server.debug.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.server.debug>
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=51750
</profiles.server.debug>
<profiles.nacos.server-addr>
192.168.0.252:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.sms.smsSendUrl>
http://sms.wx3.com.cn/api/index/index
</profiles.sms.smsSendUrl>
<profiles.sms.apiId>
ADsUXLrS81vZDU95
</profiles.sms.apiId>
<profiles.hik.host>
8.136.255.30:8001
</profiles.hik.host>
...
...
@@ -82,7 +77,6 @@
<profiles.dingtalk.token>
m3WeuVx5kcTY76kh22uWZOTSu0XjvcwNhd
</profiles.dingtalk.token>
<profiles.dingtalk.opUserId>
254868153920685466
</profiles.dingtalk.opUserId>
<profiles.webUrl>
http://8.136.255.30:11039/attendance
</profiles.webUrl>
<package.environment>
test
</package.environment>
<skipUi>
false
</skipUi>
</properties>
</profile>
...
...
@@ -91,22 +85,15 @@
<id>
product
</id>
<properties>
<profiles.active>
product
</profiles.active>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.debug.port>
51750
</profiles.server.debug.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.nacos.server-addr>
127.0.0.1:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.sms.smsSendUrl>
http://127.0.0.1:8089/api/index/index
</profiles.sms.smsSendUrl>
<profiles.sms.apiId>
k6BVS1PEbyzcJAE4
</profiles.sms.apiId>
<profiles.hik.host>
8.136.255.30:8001
</profiles.hik.host>
<profiles.hik.protocol>
http://
</profiles.hik.protocol>
<profiles.hik.appKey>
25128371
</profiles.hik.appKey>
<profiles.hik.appSecret>
2m9RcPJOKq5j2QPQM4v5
</profiles.hik.appSecret>
<profiles.dingtalk.domain>
https://oapi.dingtalk.com
</profiles.dingtalk.domain>
<profiles.dingtalk.oaUrl>
api.dingtalk.com
</profiles.dingtalk.oaUrl>
<profiles.dingtalk.agentId>
2652674890
</profiles.dingtalk.agentId>
...
...
@@ -124,22 +111,15 @@
<id>
yibin
</id>
<properties>
<profiles.active>
yibin
</profiles.active>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.debug.port>
51750
</profiles.server.debug.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.nacos.server-addr>
172.15.28.120:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.sms.smsSendUrl>
http://172.15.28.113:8901/api/index/index
</profiles.sms.smsSendUrl>
<profiles.sms.apiId>
ADsUXLrS81vZDU95
</profiles.sms.apiId>
<profiles.hik.host>
10.12.177.245:443
</profiles.hik.host>
<profiles.hik.protocol>
https://
</profiles.hik.protocol>
<profiles.hik.appKey>
25128371
</profiles.hik.appKey>
<profiles.hik.appSecret>
2m9RcPJOKq5j2QPQM4v5
</profiles.hik.appSecret>
<profiles.dingtalk.domain>
http://172.15.28.113:8918
</profiles.dingtalk.domain>
<profiles.dingtalk.oaScheme>
http
</profiles.dingtalk.oaScheme>
<profiles.dingtalk.oaUrl>
172.15.28.113:8919
</profiles.dingtalk.oaUrl>
...
...
@@ -159,34 +139,17 @@
<id>
reg
</id>
<properties>
<profiles.active>
reg
</profiles.active>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.debug.port>
51750
</profiles.server.debug.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.nacos.server-addr>
127.0.0.1:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.sms.smsSendUrl>
http://sms.wx3.com.cn/api/index/index
</profiles.sms.smsSendUrl>
<profiles.sms.apiId>
ADsUXLrS81vZDU95
</profiles.sms.apiId>
<profiles.hik.host>
10.207.153.105:443
</profiles.hik.host>
<profiles.hik.protocol>
https://
</profiles.hik.protocol>
<profiles.hik.appKey>
25594054
</profiles.hik.appKey>
<profiles.hik.appSecret>
K12IkZoSLxpsJjrUPtfV
</profiles.hik.appSecret>
<profiles.dingtalk.domain></profiles.dingtalk.domain>
<profiles.dingtalk.oaScheme></profiles.dingtalk.oaScheme>
<profiles.dingtalk.oaUrl></profiles.dingtalk.oaUrl>
<profiles.dingtalk.oaScheme></profiles.dingtalk.oaScheme>
<profiles.dingtalk.agentId></profiles.dingtalk.agentId>
<profiles.dingtalk.appKey></profiles.dingtalk.appKey>
<profiles.dingtalk.appSecret></profiles.dingtalk.appSecret>
<profiles.dingtalk.aesKey></profiles.dingtalk.aesKey>
<profiles.dingtalk.token></profiles.dingtalk.token>
<profiles.dingtalk.opUserId></profiles.dingtalk.opUserId>
<profiles.webUrl>
https://ybswxxcx.zwfwhfgjjfzj.yibin.gov.cn/performance-h5
</profiles.webUrl>
<package.environment>
build
</package.environment>
<skipUi>
fals
e
</skipUi>
<skipUi>
tru
e
</skipUi>
</properties>
</profile>
...
...
@@ -195,7 +158,6 @@
<properties>
<profiles.active>
yanyuan
</profiles.active>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.debug.port>
51750
</profiles.server.debug.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.nacos.server-addr>
192.168.106.6:8848
</profiles.nacos.server-addr>
...
...
@@ -205,20 +167,6 @@
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.sms.smsSendUrl>
http://sms.wx3.com.cn/api/index/index
</profiles.sms.smsSendUrl>
<profiles.sms.apiId>
ADsUXLrS81vZDU95
</profiles.sms.apiId>
<profiles.hik.host>
10.207.153.105:443
</profiles.hik.host>
<profiles.hik.protocol>
https://
</profiles.hik.protocol>
<profiles.hik.appKey>
25594054
</profiles.hik.appKey>
<profiles.hik.appSecret>
K12IkZoSLxpsJjrUPtfV
</profiles.hik.appSecret>
<profiles.dingtalk.domain></profiles.dingtalk.domain>
<profiles.dingtalk.oaScheme></profiles.dingtalk.oaScheme>
<profiles.dingtalk.oaUrl></profiles.dingtalk.oaUrl>
<profiles.dingtalk.agentId></profiles.dingtalk.agentId>
<profiles.dingtalk.appKey></profiles.dingtalk.appKey>
<profiles.dingtalk.appSecret></profiles.dingtalk.appSecret>
<profiles.dingtalk.aesKey></profiles.dingtalk.aesKey>
<profiles.dingtalk.token></profiles.dingtalk.token>
<profiles.dingtalk.opUserId></profiles.dingtalk.opUserId>
<profiles.webUrl>
https://ybswxxcx.zwfwhfgjjfzj.yibin.gov.cn/performance-h5
</profiles.webUrl>
<package.environment>
build
</package.environment>
<skipUi>
false
</skipUi>
</properties>
...
...
@@ -228,40 +176,16 @@
<id>
pengxi
</id>
<properties>
<profiles.active>
pengxi
</profiles.active>
<profiles.server.port>
17500
</profiles.server.port>
<profiles.server.debug.port>
51750
</profiles.server.debug.port>
<profiles.server.path>
/attendance
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.nacos.server-addr>
192.168.106.6:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.sms.smsSendUrl>
http://sms.wx3.com.cn/api/index/index
</profiles.sms.smsSendUrl>
<profiles.sms.apiId>
ADsUXLrS81vZDU95
</profiles.sms.apiId>
<profiles.hik.host>
10.207.153.105:443
</profiles.hik.host>
<profiles.hik.protocol>
https://
</profiles.hik.protocol>
<profiles.hik.appKey>
25594054
</profiles.hik.appKey>
<profiles.hik.appSecret>
K12IkZoSLxpsJjrUPtfV
</profiles.hik.appSecret>
<profiles.dingtalk.domain></profiles.dingtalk.domain>
<profiles.dingtalk.oaScheme></profiles.dingtalk.oaScheme>
<profiles.dingtalk.oaUrl></profiles.dingtalk.oaUrl>
<profiles.dingtalk.agentId></profiles.dingtalk.agentId>
<profiles.dingtalk.appKey></profiles.dingtalk.appKey>
<profiles.dingtalk.appSecret></profiles.dingtalk.appSecret>
<profiles.dingtalk.aesKey></profiles.dingtalk.aesKey>
<profiles.dingtalk.token></profiles.dingtalk.token>
<profiles.dingtalk.opUserId></profiles.dingtalk.opUserId>
<profiles.webUrl>
https://ybswxxcx.zwfwhfgjjfzj.yibin.gov.cn/performance-h5
</profiles.webUrl>
<package.environment>
build
</package.environment>
<skipUi>
false
</skipUi>
</properties>
</profile>
</profiles>
<properties>
</properties>
<dependencies>
<dependency>
...
...
attendance-performance-manager/src/main/bin/start.sh
View file @
8a651b8a
#!/bin/sh
PORT
=
"@profiles.server.port@"
DEBUG
_PORT
=
@profiles.server.debug.port
@
DEBUG
=
@profiles.server.debug
@
BASEDIR
=
`
dirname
$0
`
/..
BASEDIR
=
`
(
cd
"
$BASEDIR
"
;
pwd
)
`
PROJECT_NAME
=
"@project.artifactId@"
;
...
...
@@ -56,12 +56,12 @@ cd "$BASEDIR/boot";
echo
"starting application
$PROJECT_NAME
......"
exec
"
$JAVACMD
"
$JAVA_OPTS
\
$EXTRA_JVM_ARGUMENTS
\
$DEBUG
\
-Dapp
.name
=
"
$PROJECT_NAME
"
\
-Dapp
.port
=
"
$PORT
"
\
-Dbasedir
=
"
$BASEDIR
"
\
-Djava
.io.tmpdir
=
$TEMP_PATH
\
-Dloader
.path
=
"file://
$BASEDIR
/conf,file://
$BASEDIR
/lib"
\
-agentlib
:jdwp
=
transport
=
dt_socket,server
=
y,suspend
=
n,address
=
$DEBUG_PORT
\
-jar
$MAIN_CLASS
\
>
/dev/null &
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/task/SyncDoorsEventTaskImpl.java
View file @
8a651b8a
...
...
@@ -91,6 +91,7 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService {
recordHikService
.
syncDoorEvents
(
hikQuery
);
recordHikService
.
deletFakeRecord
(
hikQuery
,
null
);
}
else
{
log
.
info
(
"同步设备上门禁事件!"
);
HikDoorEventReq
hikDoorEventReq
=
new
HikDoorEventReq
();
hikDoorEventReq
.
setStartTime
(
startTime
.
toJdkDate
());
hikDoorEventReq
.
setEndTime
(
DateUtil
.
endOfDay
(
new
Date
()));
...
...
@@ -100,7 +101,6 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService {
}
recordHikService
.
deletFakeRecord
(
hikQuery
,
null
);
}
//syncDoorEvents();
}
}
...
...
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