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
05e0fd19
Commit
05e0fd19
authored
Dec 19, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
20a191b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
GroupChatHmServiceImpl.java
...age/service/service/chat/impl/GroupChatHmServiceImpl.java
+5
-4
GroupChatHmController.java
...ban/manage/web/controller/chat/GroupChatHmController.java
+2
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatHmServiceImpl.java
View file @
05e0fd19
...
...
@@ -110,8 +110,8 @@ public class GroupChatHmServiceImpl implements GroupChatHmService {
@Override
public
GroupChatHmBO
getById
(
Long
hmId
)
{
TabGroupChatHm
hm
=
this
.
groupChatHmMapper
.
selectById
(
hmId
);
if
(
null
==
hm
)
{
return
null
;
if
(
null
==
hm
)
{
return
null
;
}
this
.
updateLinkCount
(
hm
.
getWxEnterpriseId
(),
hmId
);
GroupChatHmBO
bo
=
EntityUtil
.
changeEntityByJSON
(
GroupChatHmBO
.
class
,
hm
);
...
...
@@ -294,9 +294,10 @@ public class GroupChatHmServiceImpl implements GroupChatHmService {
joinDTO
.
setConfig_id
(
hm
.
getWxConfigId
());
ServiceResponse
<
Void
>
updateResp
=
this
.
qywxChatApiService
.
updateJoinWay
(
qwDTO
.
getDkCorpid
(),
secretSetting
.
getSecretVal
(),
joinDTO
);
if
(
updateResp
.
isSuccess
())
{
this
.
groupChatHmMapper
.
updateById
(
hm
);
if
(
!
updateResp
.
isSuccess
())
{
return
updateResp
.
getMessage
(
);
}
this
.
groupChatHmMapper
.
updateById
(
hm
);
List
<
TabGroupChatHmRelation
>
oldList
=
this
.
groupChatHmRelationMapper
.
listByChatHmId
(
hmid
);
List
<
Long
>
oldIdList
=
oldList
.
stream
().
map
(
o
->
o
.
getGroupChatId
()).
collect
(
Collectors
.
toList
());
List
<
Long
>
newIdList
=
dto
.
getChatIdList
();
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatHmController.java
View file @
05e0fd19
...
...
@@ -128,6 +128,7 @@ public class GroupChatHmController {
dto
.
setEnterpriseId
(
loginUser
.
getEnterpriseId
());
dto
.
setModifierId
(
loginUser
.
getClerkId
());
dto
.
setModifierName
(
loginUser
.
getClerkName
());
dto
.
setWxConfigId
(
oldDTO
.
getWxConfigId
());
ServiceResponse
<
GroupChatHmDTO
>
resp
=
this
.
groupChatHmApiService
.
save
(
dto
);
if
(
resp
.
isSuccess
())
{
String
logContent
=
this
.
getUpdateLog
(
oldDTO
,
dto
);
...
...
@@ -138,6 +139,7 @@ public class GroupChatHmController {
GicLogRecordEvaluationContext
.
putOptTargetId
(
AuthWebRequestUtil
.
getLoginUser
().
getClerkId
());
return
RestResponse
.
successResult
();
}
GicLogRecordEvaluationContext
.
noWriteLog
();
return
RestResponse
.
failure
(
"1"
,
resp
.
getMessage
());
}
...
...
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