SystemUpdateMessageServiceImpl.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. package com.xjrsoft.module.system.service.impl;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
  4. import com.github.yulichang.base.MPJBaseServiceImpl;
  5. import com.xjrsoft.module.system.dto.SystemUpdateMessagePageDto;
  6. import com.xjrsoft.module.system.entity.SystemUpdateMessage;
  7. import com.xjrsoft.module.system.mapper.SystemUpdateMessageMapper;
  8. import com.xjrsoft.module.system.service.ISystemUpdateMessageService;
  9. import com.xjrsoft.module.system.vo.SystemUpdateMessagePageVo;
  10. import lombok.AllArgsConstructor;
  11. import org.springframework.stereotype.Service;
  12. import org.springframework.transaction.annotation.Transactional;
  13. import java.util.List;
  14. import java.util.Objects;
  15. import java.util.stream.Collectors;
  16. import com.baomidou.mybatisplus.core.toolkit.Wrappers;
  17. /**
  18. * @title: 系统消息
  19. * @Author brealinxx
  20. * @Date: 2024-04-17
  21. * @Version 1.0
  22. */
  23. @Service
  24. @AllArgsConstructor
  25. public class SystemUpdateMessageServiceImpl extends MPJBaseServiceImpl<SystemUpdateMessageMapper, SystemUpdateMessage> implements ISystemUpdateMessageService {
  26. private final SystemUpdateMessageMapper systemUpdateMessageMapper;
  27. @Override
  28. public Page<SystemUpdateMessagePageVo> getPage(Page<Object> objectPage, SystemUpdateMessagePageDto dto) {
  29. return systemUpdateMessageMapper.getPage(objectPage, dto);
  30. }
  31. }