| | |
| | | package com.ruoyi.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.system.mapper.AssetMainMapper; |
| | | import com.ruoyi.system.model.AssetMain; |
| | | import com.ruoyi.system.query.AssetMainPageQuery; |
| | | import com.ruoyi.system.service.AssetMainService; |
| | | import com.ruoyi.system.vo.asset.AssetMainPageVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 资产主表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author WuGuanFengYue |
| | | * @since 2025-09-15 |
| | | */ |
| | | @Service |
| | | public class AssetMainServiceImpl extends ServiceImpl<AssetMainMapper, AssetMain> implements AssetMainService { |
| | | |
| | | @Override |
| | | public IPage<AssetMainPageVO> getApprovedPageList(AssetMainPageQuery pageQuery) { |
| | | Page<AssetMainPageVO> page = new Page<>(pageQuery.getPageNum(), pageQuery.getPageSize()); |
| | | return this.baseMapper.selectApprovedAssetPage(page, pageQuery); |
| | | } |
| | | } |