| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package com.railway.system.mapper;
- import com.railway.system.domain.SysNotice;
- import java.util.List;
- import org.springframework.stereotype.Repository;
- /**
- * 通知公告表 数据层
- *
- * @author railway
- */
- @Repository
- public interface SysNoticeMapper {
- /**
- * 查询公告信息
- *
- * @param noticeId 公告ID
- * @return 公告信息
- */
- SysNotice selectNoticeById(Long noticeId);
- /**
- * 查询公告列表
- *
- * @param notice 公告信息
- * @return 公告集合
- */
- List<SysNotice> selectNoticeList(SysNotice notice);
- /**
- * 新增公告
- *
- * @param notice 公告信息
- * @return 结果
- */
- int insertNotice(SysNotice notice);
- /**
- * 修改公告
- *
- * @param notice 公告信息
- * @return 结果
- */
- int updateNotice(SysNotice notice);
- /**
- * 批量删除公告
- *
- * @param noticeId 公告ID
- * @return 结果
- */
- int deleteNoticeById(Long noticeId);
- /**
- * 批量删除公告信息
- *
- * @param noticeIds 需要删除的公告ID
- * @return 结果
- */
- int deleteNoticeByIds(Long[] noticeIds);
- }
|