mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
Temp commit
This commit is contained in:
@@ -4,8 +4,11 @@ import com.cfive.pinnacle.entity.Notice;
|
||||
import com.cfive.pinnacle.mapper.NoticeMapper;
|
||||
import com.cfive.pinnacle.service.INoticeService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 公告 服务实现类
|
||||
@@ -16,5 +19,15 @@ import org.springframework.stereotype.Service;
|
||||
*/
|
||||
@Service
|
||||
public class NoticeServiceImpl extends ServiceImpl<NoticeMapper, Notice> implements INoticeService {
|
||||
@Autowired
|
||||
NoticeMapper noticeMapper;
|
||||
@Override
|
||||
public Notice selectByNoticeId(Long nid) {
|
||||
return noticeMapper.selectByNoticeId(nid);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Notice> selectAllNoticeId() {
|
||||
return noticeMapper.selectAllNoticeId();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user