|
@@ -125,7 +125,7 @@ public class ImGroupNoticeServiceImpl extends BaseServiceImpl<Long, ImGroupNotic
|
|
|
public void del(Long id) {
|
|
|
ImGroupNotice notice = imGroupNoticeDao.get(id);
|
|
|
if (notice == null) {
|
|
|
- throw new BizException("群公告不存在");
|
|
|
+ throw new BizException("该群公告已被删除");
|
|
|
}
|
|
|
imGroupNoticeDao.delete(id);
|
|
|
// 撤销群公告消息
|
|
@@ -136,7 +136,7 @@ public class ImGroupNoticeServiceImpl extends BaseServiceImpl<Long, ImGroupNotic
|
|
|
public ImGroupNoticeDto getNotice(Long id) {
|
|
|
ImGroupNotice notice = imGroupNoticeDao.get(id);
|
|
|
if (notice == null) {
|
|
|
- throw new BizException("群公告不存在");
|
|
|
+ throw new BizException("该群公告已被删除");
|
|
|
}
|
|
|
ImGroupNoticeDto noticeDto = JSON.parseObject(JSON.toJSONString(notice), ImGroupNoticeDto.class);
|
|
|
SysUser sysUser = sysUserService.queryUserById(noticeDto.getOperatorId().intValue());
|