Commit 34c1c0b1 by 徐高华

Merge branch 'feature/社群' into 'developer'

活码下群的下线

See merge request !787
parents 4eb3ef73 97ac5518
......@@ -272,6 +272,7 @@ public class GroupChatServiceImpl implements GroupChatService {
for(GroupChatDTO dto : list) {
if(null != offMap.get(dto.getGroupChatId())) {
dto.setOffTime( offMap.get(dto.getGroupChatId()));
dto.setHmAddStatus(2);
}
}
}
......
......@@ -387,11 +387,13 @@ public class GroupChatHmController {
ServiceResponse<Page<GroupChatDTO>> pageResp = this.groupChatApiService.listPage(qdto, basePageInfo);
Page<GroupChatDTO> page = pageResp.getResult();
List<GroupChatDTO> list = page.getResult();
if(CollectionUtils.isNotEmpty(list)) {
list.stream().forEach(dto->{
if(dto.getTotalCount()>=200) {
dto.setHmAddStatus(2);
}
});
}
return RestResponse.successResult(page);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment