AnnouncementConfigMapper
7/8/26Less than 1 minute
AnnouncementConfigMapper
Info
MyBatis @Mapper interface for the singleton announcement configuration table (single row, ID = 1).
Methods
| Method | Return | Description |
|---|---|---|
selectCurrent() | AnnouncementConfig | Fetch the current announcement (ID = 1) |
selectById(id) | AnnouncementConfig | Fetch by ID |
insert(config) | int | Insert new announcement config |
update(id, title, content, bvid, enabled, startAt, endAt, updatedBy, updatedAt) | int | Update existing announcement |
Changelog
7/8/26, 5:52 AM
View All Changelog
9f290-on

