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
1
Merge Requests
1
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
d0790889
Commit
d0790889
authored
Apr 17, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
q111
parent
9e8b5712
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
+20
-6
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+10
-3
StaffDepartmentRelatedApiServiceImpl.java
...ervice/out/impl/StaffDepartmentRelatedApiServiceImpl.java
+10
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
d0790889
...
...
@@ -45,6 +45,7 @@ import com.gic.haoban.manage.service.entity.TabHaobanDepartment;
import
com.gic.haoban.manage.service.entity.TabHaobanStaff
;
import
com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise
;
import
com.gic.haoban.message.api.dto.MessageDTO
;
import
com.gic.wechat.api.dto.qywx.ItemDTO
;
import
com.gic.wechat.api.dto.qywx.QywxXcxSendMessageDTO
;
import
com.gic.wechat.api.service.qywx.QywxSuiteApiService
;
import
com.github.pagehelper.PageHelper
;
...
...
@@ -304,9 +305,15 @@ public class AuditApiServiceImpl implements AuditApiService{
String
pageUrl
=
staffDepartmentRelatedApiService
.
getPageUrl
(
AppPageType
.
STORE_DETAIL
.
getCode
(),
data
);
QywxXcxSendMessageDTO
messageDTO
=
new
QywxXcxSendMessageDTO
();
Map
<
String
,
String
>
items
=
new
HashMap
<>();
items
.
put
(
"name"
,
staffName
);
items
.
put
(
"content"
,
content
);
List
<
ItemDTO
>
items
=
new
ArrayList
();;
ItemDTO
dto1
=
new
ItemDTO
();
ItemDTO
dto2
=
new
ItemDTO
();
dto1
.
setKey
(
"接收人"
);
dto1
.
setValue
(
staffName
);
dto2
.
setKey
(
"接收事件"
);
dto2
.
setValue
(
content
);
items
.
add
(
dto1
);
items
.
add
(
dto2
);
ArrayList
<
String
>
list
=
new
ArrayList
<>();
list
.
add
(
wxUserId
);
messageDTO
.
setAppid
(
config
.
getAppid
());
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffDepartmentRelatedApiServiceImpl.java
View file @
d0790889
...
...
@@ -34,6 +34,7 @@ import com.gic.haoban.manage.service.entity.TabHaobanStaffDepartmentRelated;
import
com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise
;
import
com.gic.haoban.manage.service.service.ApplicationService
;
import
com.gic.haoban.manage.service.service.StaffDepartmentRelatedService
;
import
com.gic.wechat.api.dto.qywx.ItemDTO
;
import
com.gic.wechat.api.dto.qywx.QywxXcxSendMessageDTO
;
import
com.gic.wechat.api.service.qywx.QywxSuiteApiService
;
...
...
@@ -158,9 +159,15 @@ public class StaffDepartmentRelatedApiServiceImpl implements StaffDepartmentRela
}
//先发送下,试试
QywxXcxSendMessageDTO
messageDTO
=
new
QywxXcxSendMessageDTO
();
Map
<
String
,
String
>
items
=
new
HashMap
<>();
items
.
put
(
"name"
,
name
);
items
.
put
(
"content"
,
content
);
List
<
ItemDTO
>
items
=
new
ArrayList
();;
ItemDTO
dto1
=
new
ItemDTO
();
ItemDTO
dto2
=
new
ItemDTO
();
dto1
.
setKey
(
"接收人"
);
dto1
.
setValue
(
name
);
dto2
.
setKey
(
"接收事件"
);
dto2
.
setValue
(
content
);
items
.
add
(
dto1
);
items
.
add
(
dto2
);
ArrayList
<
String
>
list
=
new
ArrayList
<>();
list
.
add
(
wxUserId
);
messageDTO
.
setAppid
(
config
.
getAppid
());
...
...
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