懒羊羊
2024-01-31 e57a8990ae56f657a59c435a0613c5f7a8728003
提交 | 用户 | 时间
e57a89 1 package com.jcdm.system.mapper;
2
3 import java.util.List;
4 import com.jcdm.system.domain.SysNotice;
5
6 /**
7  * 通知公告表 数据层
8  * 
9  * @author jc
10  */
11 public interface SysNoticeMapper
12 {
13     /**
14      * 查询公告信息
15      * 
16      * @param noticeId 公告ID
17      * @return 公告信息
18      */
19     public SysNotice selectNoticeById(Long noticeId);
20
21     /**
22      * 查询公告列表
23      * 
24      * @param notice 公告信息
25      * @return 公告集合
26      */
27     public List<SysNotice> selectNoticeList(SysNotice notice);
28
29     /**
30      * 新增公告
31      * 
32      * @param notice 公告信息
33      * @return 结果
34      */
35     public int insertNotice(SysNotice notice);
36
37     /**
38      * 修改公告
39      * 
40      * @param notice 公告信息
41      * @return 结果
42      */
43     public int updateNotice(SysNotice notice);
44
45     /**
46      * 批量删除公告
47      * 
48      * @param noticeId 公告ID
49      * @return 结果
50      */
51     public int deleteNoticeById(Long noticeId);
52
53     /**
54      * 批量删除公告信息
55      * 
56      * @param noticeIds 需要删除的公告ID
57      * @return 结果
58      */
59     public int deleteNoticeByIds(Long[] noticeIds);
60 }