yangys
2024-09-04 04c57331cf84c8f606c2838dcb6fe5463fb9b68c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.qianwen.smartman.modules.resource.service.impl;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianwen.core.mp.base.BaseServiceImpl;
import com.qianwen.smartman.modules.resource.entity.Attach;
import com.qianwen.smartman.modules.resource.mapper.AttachMapper;
import com.qianwen.smartman.modules.resource.service.IAttachService;
import com.qianwen.smartman.modules.resource.vo.AttachVO;
import org.springframework.stereotype.Service;
 
@Service
 
public class AttachServiceImpl extends BaseServiceImpl<AttachMapper, Attach> implements IAttachService {
    
    public IPage<AttachVO> selectAttachPage(IPage<AttachVO> page, AttachVO attach) {
        return page.setRecords(((AttachMapper) this.baseMapper).selectAttachPage(page, attach));
    }
}