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
59c4f1a8
Commit
59c4f1a8
authored
Jan 03, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群发详情
parent
b811e21a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
GroupChatServiceImpl.java
...anage/service/service/chat/impl/GroupChatServiceImpl.java
+3
-0
GroupChatPlanController.java
...manage/web/controller/haoban/GroupChatPlanController.java
+7
-9
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatServiceImpl.java
View file @
59c4f1a8
...
@@ -626,6 +626,9 @@ public class GroupChatServiceImpl implements GroupChatService {
...
@@ -626,6 +626,9 @@ public class GroupChatServiceImpl implements GroupChatService {
this
.
saveOwnerHistory
(
wxEnterpriseId
,
groupChatId
,
newStaffId
,
oldStaffId
);
this
.
saveOwnerHistory
(
wxEnterpriseId
,
groupChatId
,
newStaffId
,
oldStaffId
);
chat
.
setOriginalStaffId
(
oldStaffId
);
chat
.
setOriginalStaffId
(
oldStaffId
);
this
.
groupChatMapper
.
update
(
chat
);
this
.
groupChatMapper
.
update
(
chat
);
if
(
StringUtils
.
isBlank
(
chat
.
getWxChatIdDk
()))
{
this
.
updateWxChatIdDk
(
wxEnterpriseId
,
staff
.
getStaffId
())
;
}
this
.
saveOwner
(
wxEnterpriseId
,
staff
.
getStaffId
());
this
.
saveOwner
(
wxEnterpriseId
,
staff
.
getStaffId
());
if
(!
syncMember
)
{
if
(!
syncMember
)
{
logger
.
info
(
"不同步群成员"
);
logger
.
info
(
"不同步群成员"
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/haoban/GroupChatPlanController.java
View file @
59c4f1a8
...
@@ -57,7 +57,7 @@ public class GroupChatPlanController {
...
@@ -57,7 +57,7 @@ public class GroupChatPlanController {
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setClerkId
(
clerkId
);
qdto
.
setClerkId
(
clerkId
);
if
(
StringUtils
.
isNotBlank
(
searchParams
))
{
if
(
StringUtils
.
isNotBlank
(
searchParams
))
{
qdto
.
setSearchParams
(
"%"
+
searchParams
+
"%"
);
qdto
.
setSearchParams
(
"%"
+
searchParams
+
"%"
);
}
}
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
pageResp
=
this
.
groupChatPlanApiService
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
pageResp
=
this
.
groupChatPlanApiService
.
listOwnerLogPageForWxaTotal
(
qdto
,
basePageInfo
);
.
listOwnerLogPageForWxaTotal
(
qdto
,
basePageInfo
);
...
@@ -92,7 +92,7 @@ public class GroupChatPlanController {
...
@@ -92,7 +92,7 @@ public class GroupChatPlanController {
}
}
@RequestMapping
(
"detail"
)
@RequestMapping
(
"detail"
)
public
RestResponse
<
Object
>
detail
(
Long
planId
,
String
clerkId
,
String
staffId
,
String
wxEnterprise
Id
)
{
public
RestResponse
<
Object
>
detail
(
Long
planId
,
String
wxEnterpriseId
,
Long
ownerLog
Id
)
{
if
(
null
==
planId
)
{
if
(
null
==
planId
)
{
return
RestResponse
.
failure
(
"1"
,
"planid为空"
);
return
RestResponse
.
failure
(
"1"
,
"planid为空"
);
}
}
...
@@ -113,9 +113,8 @@ public class GroupChatPlanController {
...
@@ -113,9 +113,8 @@ public class GroupChatPlanController {
Map
<
String
,
Object
>
retMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
retMap
=
new
HashMap
<>();
retMap
.
put
(
"plan"
,
plan
);
retMap
.
put
(
"plan"
,
plan
);
retMap
.
put
(
"materialList"
,
materials
);
retMap
.
put
(
"materialList"
,
materials
);
if
(
StringUtils
.
isNotEmpty
(
clerkId
))
{
if
(
null
!=
ownerLogId
)
{
ServiceResponse
<
GroupChatPlanOwnerLogDTO
>
resp
=
this
.
groupChatPlanApiService
.
getOwnerInfo
(
planId
,
staffId
,
ServiceResponse
<
GroupChatPlanOwnerLogDTO
>
resp
=
this
.
groupChatPlanApiService
.
getOwnerSendInfo
(
ownerLogId
);
clerkId
,
wxEnterpriseId
);
GroupChatPlanOwnerLogDTO
owner
=
resp
.
getResult
();
GroupChatPlanOwnerLogDTO
owner
=
resp
.
getResult
();
if
(!
resp
.
isSuccess
()
||
null
==
owner
)
{
if
(!
resp
.
isSuccess
()
||
null
==
owner
)
{
return
RestResponse
.
failure
(
"1"
,
"记录不存在"
);
return
RestResponse
.
failure
(
"1"
,
"记录不存在"
);
...
@@ -130,15 +129,14 @@ public class GroupChatPlanController {
...
@@ -130,15 +129,14 @@ public class GroupChatPlanController {
}
}
@RequestMapping
(
"owner-do-list"
)
@RequestMapping
(
"owner-do-list"
)
public
RestResponse
<
Object
>
ownerDoList
(
Long
planId
,
String
clerkId
,
String
wxEnterpriseId
,
String
enterprise
Id
,
public
RestResponse
<
Object
>
ownerDoList
(
Long
planId
,
String
wxEnterpriseId
,
String
enterpriseId
,
Long
ownLog
Id
,
String
staffId
,
Long
ownLogId
,
BasePageInfo
basePageInfo
)
{
BasePageInfo
basePageInfo
)
{
if
(
null
==
planId
||
StringUtils
.
isEmpty
(
clerkId
)
)
{
if
(
null
==
planId
||
null
==
ownLogId
)
{
return
RestResponse
.
failure
(
"1"
,
"参数未传"
);
return
RestResponse
.
failure
(
"1"
,
"参数未传"
);
}
}
GroupChatPlanSearchQDTO
qdto
=
new
GroupChatPlanSearchQDTO
();
GroupChatPlanSearchQDTO
qdto
=
new
GroupChatPlanSearchQDTO
();
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setClerkId
(
clerkId
);
qdto
.
setPlanId
(
planId
);
qdto
.
setPlanId
(
planId
);
qdto
.
setOwnLogId
(
ownLogId
);
qdto
.
setOwnLogId
(
ownLogId
);
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
page
=
this
.
groupChatPlanApiService
.
listLogPage
(
planId
,
qdto
,
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
page
=
this
.
groupChatPlanApiService
.
listLogPage
(
planId
,
qdto
,
...
...
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