Blame view

src/main/java/com/huaheng/pc/system/notice/service/INoticeService.java 983 Bytes
tangying authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.huaheng.pc.system.notice.service;

import com.huaheng.pc.system.notice.domain.Notice;
import java.util.List;

/**
 * 公告 服务层
 * 
 * @author huaheng
 */
public interface INoticeService
{
    /**
     * 查询公告信息
     * 
     * @param id 公告ID
     * @return 公告信息
     */
    public Notice selectNoticeById(Integer id);

    /**
     * 查询公告列表
     * 
     * @param notice 公告信息
     * @return 公告集合
     */
    public List<Notice> selectNoticeList(Notice notice);

    /**
     * 新增公告
     * 
     * @param notice 公告信息
     * @return 结果
     */
    public int insertNotice(Notice notice);

    /**
     * 修改公告
     * 
     * @param notice 公告信息
     * @return 结果
     */
    public int updateNotice(Notice notice);

    /**
     * 删除公告信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteNoticeByIds(String ids);

}