12345678910111213141516171819202122232425262728293031323334353637383940 |
- package com.nosum.deliver.posts.service.impl;
- import com.nosum.common.base.domain.Result;
- import com.nosum.deliver.posts.domain.vo.PostsVO;
- import com.nosum.deliver.posts.service.PostsService;
- import lombok.extern.slf4j.Slf4j;
- import org.springframework.stereotype.Service;
- @Service
- @Slf4j
- public class PostsServiceImpl implements PostsService {
- //@Autowired
- //private PostsDao postsDao;
- @Override
- public Result<PostsVO> getArchiveTotalByDateList(PostsVO postsVO) {
- //List<PostsVO> postsVOList = postsDao.selectArchiveTotalGroupDateList();
- //postsVOList.forEach(obj -> {
- // // 查询每一个时间点中的文章
- // obj.setArchivePosts(postsDao.selectByArchiveDate(obj.getArchiveDate()));
- //});
- //return Result.createWithModels(postsVOList);
- return null;
- }
- @Override
- public Result getArchiveGroupYearList(PostsVO postsVO) {
- //List<PostsVO> postsVOList = postsDao.selectArchiveGroupYearList();
- //return Result.createWithModels(postsVOList);
- return null;
- }
- @Override
- public Result getPostStatistics() {
- //return Result.createWithModel(postsDao.selectByStatistics());
- return null;
- }
- }
|