Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_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
赵啸非
smart_gov_platform
Commits
8cc986aa
Commit
8cc986aa
authored
Apr 10, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加消息发送系统
parent
c3ef756a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
base-manager/pom.xml
base-manager/pom.xml
+4
-0
portal-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
...ortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
+3
-0
No files found.
base-manager/pom.xml
View file @
8cc986aa
...
@@ -242,6 +242,10 @@
...
@@ -242,6 +242,10 @@
<artifactId>
DmJdbcDriver18
</artifactId>
<artifactId>
DmJdbcDriver18
</artifactId>
<version>
8.1.1.193
</version>
<version>
8.1.1.193
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
</dependency>
<!-- Spring Boot Data Elasticsearch依赖 -->
<!-- Spring Boot Data Elasticsearch依赖 -->
...
...
portal-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
View file @
8cc986aa
...
@@ -170,6 +170,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
...
@@ -170,6 +170,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
Long
diff
=
DateUtil
.
between
(
item
.
getTakeTime
(),
finPersonInfo
.
getCalltime
(),
DateUnit
.
SECOND
);
Long
diff
=
DateUtil
.
between
(
item
.
getTakeTime
(),
finPersonInfo
.
getCalltime
(),
DateUnit
.
SECOND
);
if
(!
ObjectUtils
.
isEmpty
(
finPersonInfo
.
getAvgWaitTime
()))
{
if
(!
ObjectUtils
.
isEmpty
(
finPersonInfo
.
getAvgWaitTime
()))
{
int
avgWait
=
finPersonInfo
.
getAvgWaitTime
();
int
avgWait
=
finPersonInfo
.
getAvgWaitTime
();
item
.
setWaitDureAlarmAvl
(
avgWait
);
if
(
avgWait
>
0
if
(
avgWait
>
0
&&
diff
>
avgWait
)
{
&&
diff
>
avgWait
)
{
//todo 构造发送消息。
//todo 构造发送消息。
...
@@ -197,6 +198,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
...
@@ -197,6 +198,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
//判断是否大于平均等待时间,如果大于 则预警消息
//判断是否大于平均等待时间,如果大于 则预警消息
item
.
setWaitTime
(
diff
.
intValue
());
item
.
setWaitTime
(
diff
.
intValue
());
item
.
setWindowNum
(
finPersonInfo
.
getWindowNum
());
item
.
setWindowNum
(
finPersonInfo
.
getWindowNum
());
item
.
setWorkman
(
finPersonInfo
.
getWorkmanName
());
item
.
setWorkman
(
finPersonInfo
.
getWorkmanName
());
...
@@ -228,6 +230,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
...
@@ -228,6 +230,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
if
(!
ObjectUtils
.
isEmpty
(
endPersonInfo
.
getAvgHandleTime
()))
{
if
(!
ObjectUtils
.
isEmpty
(
endPersonInfo
.
getAvgHandleTime
()))
{
int
avgWait
=
endPersonInfo
.
getAvgHandleTime
();
int
avgWait
=
endPersonInfo
.
getAvgHandleTime
();
item
.
setEndDureAlarmAvl
(
avgWait
);
if
(
avgWait
>
0
if
(
avgWait
>
0
&&
diff
>
avgWait
)
{
&&
diff
>
avgWait
)
{
//todo 构造发送消息。
//todo 构造发送消息。
...
...
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