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
cd8b86c2
Commit
cd8b86c2
authored
Dec 27, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:消息通知支持staffId
parent
5ab4953a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
NoticeMessageApiServiceImpl.java
...rvice/service/notify/out/NoticeMessageApiServiceImpl.java
+1
-1
NotityTest.java
haoban-manage3-service/src/test/java/NotityTest.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/notify/out/NoticeMessageApiServiceImpl.java
View file @
cd8b86c2
...
@@ -119,7 +119,7 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
...
@@ -119,7 +119,7 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
return
;
return
;
}
}
wxUserId
=
(
wxUserId
==
null
?
clerkRelationDTO
.
getWxUserId
()
:
wxUserId
);
wxUserId
=
(
wxUserId
==
null
?
clerkRelationDTO
.
getWxUserId
()
:
wxUserId
);
wxEnterpriseId
=
(
wxEnterpriseId
==
null
?
clerkRelationDTO
.
getEnterpriseId
()
:
wxEnterpriseId
);
wxEnterpriseId
=
(
wxEnterpriseId
==
null
?
clerkRelationDTO
.
get
Wx
EnterpriseId
()
:
wxEnterpriseId
);
//消息组装 新增消息
//消息组装 新增消息
NoticeMessageBO
noticeMessageBO
=
new
NoticeMessageBO
();
NoticeMessageBO
noticeMessageBO
=
new
NoticeMessageBO
();
...
...
haoban-manage3-service/src/test/java/NotityTest.java
View file @
cd8b86c2
...
@@ -46,7 +46,7 @@ public class NotityTest {
...
@@ -46,7 +46,7 @@ public class NotityTest {
noticeMessageQDTO
.
setOptTargetId
(
"testtatget"
);
noticeMessageQDTO
.
setOptTargetId
(
"testtatget"
);
noticeMessageQDTO
.
setExtendContent
(
extMap
);
noticeMessageQDTO
.
setExtendContent
(
extMap
);
String
str
=
"{\"
extendContent\":{\"taskName\":\"上传12-26日报\",\"storeId\":\"ff8080816c45c82a016c46b4d3b70223\",\"taskId\":\"003a63918e2843f6a714f4e4ede4e874\"},\"messageType\":3031,\"clerkId\":\"836de7f9b607427089215c60116978e7\",\"enterpriseId\":\"ff8080815dacd3a2015dacd3ef5c0000\",\"mqTraceId\":\"590f4ded-3551-4e44-8bf8-4ff0d381c917\"
}"
;
String
str
=
"{\"
clerkId\":\"28974631cc7a47398ec592d9f61ca210\",\"enterpriseId\":\"ff8080815dacd3a2015dacd3ef5c0000\",\"extendContent\":{\"taskName\":\"上传12-26日报\",\"storeId\":\"ff8080817a578567017a75b014d900be\",\"taskId\":\"01bafd19b050421ba72e4d130508a24f\"},\"messageType\":3031
}"
;
noticeMessageApiService
.
noticeMessageMq
(
str
);
noticeMessageApiService
.
noticeMessageMq
(
str
);
}
}
...
...
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