src/cn/itbaizhan/health/service/impl/NoticeServiceImpl.java
(完整代码) 1KBpackage cn.itbaizhan.health.service.impl;
import java.util.List;
import cn.itbaizhan.health.dao.NoticeDAOInter;
import cn.itbaizhan.health.po.Manager;
import cn.itbaizhan.health.po.Notice;
import cn.itbaizhan.health.service.NoticeServiceInter;
public class NoticeServiceImpl implements NoticeServiceInter {
private NoticeDAOInter noticeDao;
public void setNoticeDao(NoticeDAOInter noticeDao) {
this.noticeDao = noticeDao;
}
/*---------------------*/
public List<Notice> find(int num) throws Exception {
// TODO Auto-generated method stub
List<Notice> list = noticeDao.find(num);
return list;
}
public boolean delete(Notice notice) throws Exception {
return noticeDao.delete(notice);
}
public Notice findById(int id) throws Exception {
return noticeDao.findById(id);
}
public boolean saveOrUpdate(Notice notice) throws Exception {
return noticeDao.saveOrUpdate(notice);
}
public boolean add(Notice notice) throws Exception {
return noticeDao.add(notice);
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
