Commit 9b9432a3 by 徐高华

链接

parent f1b8ce91
......@@ -58,7 +58,6 @@ public class HmLinkChatServiceImpl implements HmLinkChatService {
for (HmLinkChatDTO dto : addList) {
TabHmLinkChat entity = EntityUtil.changeEntityByJSON(TabHmLinkChat.class, dto);
entity.setLinkChatId(UniqueIdUtils.uniqueLong());
entity.setChatHmId(UniqueIdUtils.uniqueLong());
entity.setLinkId(linkId);
this.hmLinkChatMapper.insert(entity);
}
......
......@@ -41,6 +41,9 @@ public class GroupChatHmApiServiceImpl implements GroupChatHmApiService {
@Override
public ServiceResponse<Page<GroupChatHmDTO>> listPage(ChatHmSearchQDTO qdto, BasePageInfo basePageInfo) {
Page<GroupChatHmBO> page = this.groupChatHmService.listPage(qdto, basePageInfo);
if (CollectionUtils.isEmpty(page.getResult())) {
return ServiceResponse.success(new Page<GroupChatHmDTO>());
}
Page<GroupChatHmDTO> resultPage = PageHelperUtils.changePageToCurrentPage(page, GroupChatHmDTO.class);
return ServiceResponse.success(resultPage);
}
......
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