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
b811e21a
Commit
b811e21a
authored
Jan 03, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除群活码下自动剔除的群查询逻辑
parent
b1a2bf81
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
GroupChatServiceImpl.java
...anage/service/service/chat/impl/GroupChatServiceImpl.java
+0
-13
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatServiceImpl.java
View file @
b811e21a
...
...
@@ -247,10 +247,6 @@ public class GroupChatServiceImpl implements GroupChatService {
public
Page
<
GroupChatDTO
>
listPage
(
GroupChatSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
List
<
TabGroupChatHmRelation
>
relationList
=
null
;
if
(
null
!=
qdto
.
getChatHmId
())
{
/*if (qdto.getIncludeOff() == 1) {
relationList = this.groupChatHmRelationMapper.listByChatHmIdIncludeOff(qdto.getChatHmId());
} else {
}*/
relationList
=
this
.
groupChatHmRelationMapper
.
listByChatHmId
(
qdto
.
getChatHmId
());
if
(
CollectionUtils
.
isEmpty
(
relationList
))
{
return
new
Page
<
GroupChatDTO
>();
...
...
@@ -267,15 +263,6 @@ public class GroupChatServiceImpl implements GroupChatService {
qdto
.
setSearchParams
(
"%"
+
params
+
"%"
);
}
List
<
GroupChatDTO
>
list
=
this
.
groupChatMapper
.
list
(
qdto
);
if
(
CollectionUtils
.
isNotEmpty
(
list
)
&&
CollectionUtils
.
isNotEmpty
(
relationList
))
{
Map
<
Long
,
Date
>
offMap
=
relationList
.
stream
().
filter
(
dto
->
dto
.
getStatusFlag
()==
2
).
collect
(
Collectors
.
toMap
(
TabGroupChatHmRelation:
:
getGroupChatId
,
TabGroupChatHmRelation:
:
getUpdateTime
,(
k1
,
k2
)->
k1
));
for
(
GroupChatDTO
dto
:
list
)
{
if
(
null
!=
offMap
.
get
(
dto
.
getGroupChatId
()))
{
dto
.
setOffTime
(
offMap
.
get
(
dto
.
getGroupChatId
()));
dto
.
setHmAddStatus
(
2
);
}
}
}
Page
<
GroupChatDTO
>
retPage
=
PageHelperUtils
.
changePageHelperToCurrentPage
(
list
,
GroupChatDTO
.
class
);
return
retPage
;
}
...
...
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