parent
55bc4967ae
commit
5a90e00413
@ -0,0 +1,15 @@
|
|||||||
|
package com.qsd.orange.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.qsd.orange.po.SysAnnouncement;
|
||||||
|
|
||||||
|
public interface AnnouncementService {
|
||||||
|
|
||||||
|
//查询全部公告
|
||||||
|
IPage<SysAnnouncement> all(Integer page, Integer limit);
|
||||||
|
//新增一条公告
|
||||||
|
int add(SysAnnouncement announcement, String username);
|
||||||
|
//更新一条公告
|
||||||
|
int update(SysAnnouncement announcement);
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue