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
34c1c0b1
Commit
34c1c0b1
authored
Dec 28, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/社群' into 'developer'
活码下群的下线 See merge request
!787
parents
4eb3ef73
97ac5518
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
GroupChatServiceImpl.java
...anage/service/service/chat/impl/GroupChatServiceImpl.java
+1
-0
GroupChatHmController.java
...ban/manage/web/controller/chat/GroupChatHmController.java
+7
-5
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatServiceImpl.java
View file @
34c1c0b1
...
@@ -272,6 +272,7 @@ public class GroupChatServiceImpl implements GroupChatService {
...
@@ -272,6 +272,7 @@ public class GroupChatServiceImpl implements GroupChatService {
for
(
GroupChatDTO
dto
:
list
)
{
for
(
GroupChatDTO
dto
:
list
)
{
if
(
null
!=
offMap
.
get
(
dto
.
getGroupChatId
()))
{
if
(
null
!=
offMap
.
get
(
dto
.
getGroupChatId
()))
{
dto
.
setOffTime
(
offMap
.
get
(
dto
.
getGroupChatId
()));
dto
.
setOffTime
(
offMap
.
get
(
dto
.
getGroupChatId
()));
dto
.
setHmAddStatus
(
2
);
}
}
}
}
}
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatHmController.java
View file @
34c1c0b1
...
@@ -387,11 +387,13 @@ public class GroupChatHmController {
...
@@ -387,11 +387,13 @@ public class GroupChatHmController {
ServiceResponse
<
Page
<
GroupChatDTO
>>
pageResp
=
this
.
groupChatApiService
.
listPage
(
qdto
,
basePageInfo
);
ServiceResponse
<
Page
<
GroupChatDTO
>>
pageResp
=
this
.
groupChatApiService
.
listPage
(
qdto
,
basePageInfo
);
Page
<
GroupChatDTO
>
page
=
pageResp
.
getResult
();
Page
<
GroupChatDTO
>
page
=
pageResp
.
getResult
();
List
<
GroupChatDTO
>
list
=
page
.
getResult
();
List
<
GroupChatDTO
>
list
=
page
.
getResult
();
list
.
stream
().
forEach
(
dto
->{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
dto
.
getTotalCount
()>=
200
)
{
list
.
stream
().
forEach
(
dto
->{
dto
.
setHmAddStatus
(
2
);
if
(
dto
.
getTotalCount
()>=
200
)
{
}
dto
.
setHmAddStatus
(
2
);
});
}
});
}
return
RestResponse
.
successResult
(
page
);
return
RestResponse
.
successResult
(
page
);
}
}
...
...
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