1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package com.ruoyi.system.mapper;
- import com.ruoyi.system.domain.PoNotice;
- import org.apache.ibatis.annotations.Mapper;
- import java.util.List;
- /**
- * 通知公告表 数据层
- *
- * @author blue
- */
- @Mapper
- public interface PoNoticeMapper {
- /**
- * 查询公告信息
- *
- * @param newsId 公告ID
- * @return 公告信息
- */
- PoNotice selectPoNoticeById(Long newsId);
- /**
- * 查询公告列表
- *
- * @param news 公告信息
- * @return 公告集合
- */
- List<PoNotice> selectPoNoticeList(PoNotice news);
- /**
- * 新增公告
- *
- * @param news 公告信息
- * @return 结果
- */
- int insertPoNotice(PoNotice news);
- /**
- * 修改公告
- *
- * @param news 公告信息
- * @return 结果
- */
- int updatePoNotice(PoNotice news);
- /**
- * 批量删除公告
- *
- * @param newsId 公告ID
- * @return 结果
- */
- int deletePoNoticeById(Long newsId);
- /**
- * 批量删除公告信息
- *
- * @param newsIds 需要删除的公告ID
- * @return 结果
- */
- int deletePoNoticeByIds(Long[] newsIds);
- }
|