Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
4a7c327e
Commit
4a7c327e
authored
Oct 16, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非空判断
parent
8c437887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
OpenStaffServiceImpl.java
...ban/manage/service/service/impl/OpenStaffServiceImpl.java
+9
-7
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/OpenStaffServiceImpl.java
View file @
4a7c327e
...
@@ -115,13 +115,15 @@ public class OpenStaffServiceImpl implements OpenStaffService {
...
@@ -115,13 +115,15 @@ public class OpenStaffServiceImpl implements OpenStaffService {
if
(
StringUtils
.
isNotBlank
(
noticeReason
))
{
if
(
StringUtils
.
isNotBlank
(
noticeReason
))
{
log
.
info
(
"发送退出登录通知,staffId={}"
,
openStaff
.
getStaffId
());
log
.
info
(
"发送退出登录通知,staffId={}"
,
openStaff
.
getStaffId
());
TabHaobanStaff
staff
=
this
.
staffMapper
.
selectByPrimaryKey
(
openStaff
.
getStaffId
());
TabHaobanStaff
staff
=
this
.
staffMapper
.
selectByPrimaryKey
(
openStaff
.
getStaffId
());
this
.
noticeMessageApiService
.
sendMessageForOpenStaff
(
openStaff
.
getEnterpriseId
(),
staff
.
getStaffName
(),
noticeReason
);
if
(
null
!=
staff
)
{
// 发送通知
this
.
noticeMessageApiService
.
sendMessageForOpenStaff
(
openStaff
.
getEnterpriseId
(),
staff
.
getStaffName
(),
noticeReason
);
if
(!
noticeReason
.
equals
(
OpenStaffOfflineEnum
.
OFFLINE1
.
getDesc
()))
{
// 发送通知
Map
<
String
,
String
>
map
=
new
HashMap
<
String
,
String
>();
if
(!
noticeReason
.
equals
(
OpenStaffOfflineEnum
.
OFFLINE1
.
getDesc
()))
{
map
.
put
(
"reason"
,
noticeReason
);
Map
<
String
,
String
>
map
=
new
HashMap
<
String
,
String
>();
int
messageType
=
NoticeMessageTypeEnum
.
HAOBAN_OPEN_STAFF_LOGOUT
.
getType
();
map
.
put
(
"reason"
,
noticeReason
);
NoticeMessageUtil
.
sendNoticeMessageByStaff
(
openStaff
.
getEnterpriseId
(),
openStaff
.
getStaffId
(),
"-1"
,
messageType
,
null
,
map
,
null
);
int
messageType
=
NoticeMessageTypeEnum
.
HAOBAN_OPEN_STAFF_LOGOUT
.
getType
();
NoticeMessageUtil
.
sendNoticeMessageByStaff
(
openStaff
.
getEnterpriseId
(),
openStaff
.
getStaffId
(),
"-1"
,
messageType
,
null
,
map
,
null
);
}
}
}
}
}
}
}
...
...
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