无关风月
1 天以前 083c414ff683ab12e65069c6c0ba6871ed1ed09f
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSystemBulletinServiceImpl.java
@@ -1,10 +1,15 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.system.mapper.TSystemBulletinMapper;
import com.ruoyi.system.model.TSystemBulletin;
import com.ruoyi.system.query.SystemBulletinQuery;
import com.ruoyi.system.service.TSystemBulletinService;
import com.ruoyi.system.vo.system.SystemBulletinListVO;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * <p>
@@ -17,4 +22,11 @@
@Service
public class TSystemBulletinServiceImpl extends ServiceImpl<TSystemBulletinMapper, TSystemBulletin> implements TSystemBulletinService {
    @Override
    public PageInfo<SystemBulletinListVO> pageList(SystemBulletinQuery query) {
        PageInfo<SystemBulletinListVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize());
        List<SystemBulletinListVO> list = this.baseMapper.pageList(query,pageInfo);
        pageInfo.setRecords(list);
        return pageInfo;
    }
}