package org.sky.resource.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.sky.core.mp.base.BaseServiceImpl;
import org.sky.resource.mapper.AttachMapper;
import org.sky.resource.pojo.entity.Attach;
import org.sky.resource.pojo.vo.AttachVO;
import org.sky.resource.service.IAttachService;
import org.springframework.stereotype.Service;

/**
 * 附件表 服务实现类
 *
 */
@Service
public class AttachServiceImpl extends BaseServiceImpl<AttachMapper, Attach> implements IAttachService {

	@Override
	public IPage<AttachVO> selectAttachPage(IPage<AttachVO> page, AttachVO attach) {
		return page.setRecords(baseMapper.selectAttachPage(page, attach));
	}

}
