1. notice module
This commit is contained in:
2026-02-12 15:29:24 +08:00
parent a6782b4fa1
commit 28f13a5db3
2 changed files with 21 additions and 20 deletions

View File

@@ -63,11 +63,10 @@ public class CommonUserNoticeServiceImpl extends BaseServiceImpl<CommonUserNotic
return page.setRecords(baseMapper.selectUserNoticePage(page, userNotice));
}
@Transactional(rollbackFor = RuntimeException.class)
@Override
public boolean saveUserNotice(CommonUserNoticeVO userNotice) {
return Boolean.TRUE;
Assert.isTrue(userNotice.getNoticeType() != NoticeType.MARKET_USER.getCode() && userNotice.getNoticeType() != NoticeType.APP_USER.getCode(), "无效消息类型");
return save(userNotice);
}
@Override