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
dc291d33
Commit
dc291d33
authored
Dec 22, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息推送
parent
33970d2d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
BindApiServiceImpl.java
...n/manage/service/service/out/impl/BindApiServiceImpl.java
+2
-0
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+6
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/BindApiServiceImpl.java
View file @
dc291d33
...
@@ -246,6 +246,8 @@ public class BindApiServiceImpl implements BindApiService {
...
@@ -246,6 +246,8 @@ public class BindApiServiceImpl implements BindApiService {
}
}
}
}
@Deprecated
@Transactional
@Transactional
@Override
@Override
public
void
clerkSingleUnbind
(
String
fromClerkCode
,
String
departmentId
)
{
public
void
clerkSingleUnbind
(
String
fromClerkCode
,
String
departmentId
)
{
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
dc291d33
...
@@ -890,7 +890,11 @@ public class ClerkController extends WebBaseController {
...
@@ -890,7 +890,11 @@ public class ClerkController extends WebBaseController {
// String pageUrl = staffDepartmentRelatedApiService.getPageUrl(AppPageType.STORE_RELATED_RECORD.getCode(), data);
// String pageUrl = staffDepartmentRelatedApiService.getPageUrl(AppPageType.STORE_RELATED_RECORD.getCode(), data);
// staffDepartmentRelatedApiService.sendSingleMessage(gicClerk.getClerkId(), messageTitle, messageContent, pageUrl);
// staffDepartmentRelatedApiService.sendSingleMessage(gicClerk.getClerkId(), messageTitle, messageContent, pageUrl);
ClerkDTO
gicClerk
=
clerkService
.
getClerkLeaderByStoreId
(
clerk
.
getStoreId
());
if
(
gicClerk
==
null
)
{
logger
.
info
(
"无需发送消息"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
Map
<
String
,
String
>
fieldMap
=
new
HashMap
<
String
,
String
>();
Map
<
String
,
String
>
fieldMap
=
new
HashMap
<
String
,
String
>();
fieldMap
.
put
(
"staffName"
,
staff
.
getStaffName
());
fieldMap
.
put
(
"staffName"
,
staff
.
getStaffName
());
fieldMap
.
put
(
"clerkName"
,
clerk
.
getClerkName
());
fieldMap
.
put
(
"clerkName"
,
clerk
.
getClerkName
());
...
@@ -899,7 +903,7 @@ public class ClerkController extends WebBaseController {
...
@@ -899,7 +903,7 @@ public class ClerkController extends WebBaseController {
jsonObject
.
put
(
"storeId"
,
clerk
.
getStoreId
());
jsonObject
.
put
(
"storeId"
,
clerk
.
getStoreId
());
NoticeMessageUtil
.
sendNoticeMessage
(
clerk
.
getEnterpriseId
()
NoticeMessageUtil
.
sendNoticeMessage
(
clerk
.
getEnterpriseId
()
,
c
lerk
.
getClerkId
()
,
gicC
lerk
.
getClerkId
()
,
NoticeMessageTypeEnum
.
STORE_ACCOUNT
.
getType
()
,
NoticeMessageTypeEnum
.
STORE_ACCOUNT
.
getType
()
,
null
,
fieldMap
,
jsonObject
);
,
null
,
fieldMap
,
jsonObject
);
...
...
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