|
@@ -69,7 +69,11 @@ public class ImGroupNoticeServiceImpl extends BaseServiceImpl<Long, ImGroupNotic
|
|
|
|
|
|
@Override
|
|
|
public ImGroupNoticeDto queryLatestNotice(String imGroupId) {
|
|
|
- return imGroupNoticeDao.queryLatestNotice(imGroupId);
|
|
|
+ ImGroupNoticeDto imGroupNoticeDto = imGroupNoticeDao.queryLatestNotice(imGroupId);
|
|
|
+ SysUser sysUser = sysUserService.queryUserById(imGroupNoticeDto.getOperatorId().intValue());
|
|
|
+ imGroupNoticeDto.setUsername(sysUser.getUsername());
|
|
|
+ imGroupNoticeDto.setAvatar(sysUser.getAvatar());
|
|
|
+ return imGroupNoticeDto;
|
|
|
}
|
|
|
|
|
|
@Override
|