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
4a42b4a5
Commit
4a42b4a5
authored
Jun 17, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/2406企微托管' into 'developer'
Feature/xgh/2406企微托管 See merge request
!1885
parents
bcc1ff88
105d8e64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
OpenStaffApiService.java
...om/gic/haoban/manage/api/service/OpenStaffApiService.java
+2
-0
QywxCallbackController.java
.../haoban/manage/web/controller/QywxCallbackController.java
+6
-0
OpenStaffApiServiceImpl.java
...age/service/service/out/impl/OpenStaffApiServiceImpl.java
+10
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/OpenStaffApiService.java
View file @
4a42b4a5
...
...
@@ -30,6 +30,8 @@ public interface OpenStaffApiService {
public
ServiceResponse
<
OpenStaffDTO
>
getByStaffId
(
String
staffId
)
;
public
ServiceResponse
<
OpenStaffDTO
>
getByUUID
(
String
uuid
)
;
public
ServiceResponse
<
OpenStaffDTO
>
getByQwUserId
(
Long
qwUserId
)
;
...
...
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/QywxCallbackController.java
View file @
4a42b4a5
...
...
@@ -87,6 +87,12 @@ public class QywxCallbackController extends WebBaseController {
private
void
chat
(
String
uuid
,
JSONObject
json
)
{
int
msgtype
=
json
.
getIntValue
(
"msgtype"
)
;
// 群发任务
if
(
msgtype
==
573
)
{
json
.
put
(
"uuid"
,
uuid
);
this
.
openQwApiService
.
saveNotice
(
json
.
toJSONString
());
return
;
}
List
<
String
>
msgList
=
Arrays
.
asList
(
"0"
,
"2"
,
"101"
)
;
if
(!
msgList
.
contains
(
msgtype
+
""
))
{
logger
.
info
(
"不处理的消息"
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/OpenStaffApiServiceImpl.java
View file @
4a42b4a5
...
...
@@ -248,6 +248,16 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
}
@Override
public
ServiceResponse
<
OpenStaffDTO
>
getByUUID
(
String
uuid
)
{
TabOpenStaff
tab
=
this
.
openStaffMapper
.
getByUUID
(
uuid
)
;
if
(
null
==
tab
)
{
return
ServiceResponse
.
failure
(
"9999"
,
"不存在"
)
;
}
OpenStaffDTO
dto
=
EntityUtil
.
changeEntityByJSON
(
OpenStaffDTO
.
class
,
tab
)
;
return
ServiceResponse
.
success
(
dto
);
}
@Override
public
List
<
StaffClerkRelationDTO
>
listOpenStaffByClerk
(
String
wxEnterpriseId
,
String
enterpriseId
,
List
<
String
>
clerkIdList
)
{
return
this
.
openStaffMapper
.
listOpenStaffByClerk
(
wxEnterpriseId
,
enterpriseId
,
clerkIdList
);
}
...
...
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