PostsServiceImpl.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.nosum.deliver.posts.service.impl;
  2. import com.nosum.common.base.domain.Result;
  3. import com.nosum.deliver.posts.domain.vo.PostsVO;
  4. import com.nosum.deliver.posts.service.PostsService;
  5. import lombok.extern.slf4j.Slf4j;
  6. import org.springframework.stereotype.Service;
  7. @Service
  8. @Slf4j
  9. public class PostsServiceImpl implements PostsService {
  10. //@Autowired
  11. //private PostsDao postsDao;
  12. @Override
  13. public Result<PostsVO> getArchiveTotalByDateList(PostsVO postsVO) {
  14. //List<PostsVO> postsVOList = postsDao.selectArchiveTotalGroupDateList();
  15. //postsVOList.forEach(obj -> {
  16. // // 查询每一个时间点中的文章
  17. // obj.setArchivePosts(postsDao.selectByArchiveDate(obj.getArchiveDate()));
  18. //});
  19. //return Result.createWithModels(postsVOList);
  20. return null;
  21. }
  22. @Override
  23. public Result getArchiveGroupYearList(PostsVO postsVO) {
  24. //List<PostsVO> postsVOList = postsDao.selectArchiveGroupYearList();
  25. //return Result.createWithModels(postsVOList);
  26. return null;
  27. }
  28. @Override
  29. public Result getPostStatistics() {
  30. //return Result.createWithModel(postsDao.selectByStatistics());
  31. return null;
  32. }
  33. }