zhongrj
2024-05-25 f37c32e7d663b40a8a55e50735f46c9535016c2c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package org.springblade.modules.resource.service.impl;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.resource.entity.AttachData;
import org.springblade.modules.resource.mapper.AttachDataMapper;
import org.springblade.modules.resource.service.IAttachDataService;
import org.springblade.modules.resource.vo.AttachDataVO;
import org.springframework.stereotype.Service;
 
/**
 * 附件数据表 服务实现类
 *
 * @author zhongrj
 */
@Service
public class AttachDataServiceImpl extends ServiceImpl<AttachDataMapper, AttachData> implements IAttachDataService {
 
    @Override
    public IPage<AttachDataVO> selectAttachDataPage(IPage<AttachDataVO> page, AttachDataVO attachData) {
        return page.setRecords(baseMapper.selectAttachDataPage(page, attachData));
    }
 
    /**
     * 附件临时文件信息清理
     * @param param
     * @return
     */
    @Override
    public boolean removeBladeAttachDatas(String param) {
        baseMapper.removeBladeAttachData();
        return true;
    }
}