feat: 合并Gin_Vue
This commit is contained in:
24
src/modules/system/service/sys_notice.go
Normal file
24
src/modules/system/service/sys_notice.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package service
|
||||
|
||||
import "ems.agt/src/modules/system/model"
|
||||
|
||||
// ISysNotice 公告 服务层接口
|
||||
type ISysNotice interface {
|
||||
// SelectNoticePage 分页查询公告列表
|
||||
SelectNoticePage(query map[string]any) map[string]any
|
||||
|
||||
// SelectNoticeList 查询公告列表
|
||||
SelectNoticeList(sysNotice model.SysNotice) []model.SysNotice
|
||||
|
||||
// SelectNoticeById 查询公告信息
|
||||
SelectNoticeById(noticeId string) model.SysNotice
|
||||
|
||||
// InsertNotice 新增公告
|
||||
InsertNotice(sysNotice model.SysNotice) string
|
||||
|
||||
// UpdateNotice 修改公告
|
||||
UpdateNotice(sysNotice model.SysNotice) int64
|
||||
|
||||
// DeleteNoticeByIds 批量删除公告信息
|
||||
DeleteNoticeByIds(noticeIds []string) (int64, error)
|
||||
}
|
||||
Reference in New Issue
Block a user