@Service public class SystemFileService extends Object implements InductsListenerService<SystemFileDO>
| 构造器和说明 |
|---|
SystemFileService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFile(SystemFileDO entity,
org.springframework.web.multipart.MultipartFile file)
上传文件,不会新增到数据库
|
void |
cancelShare(Integer id)
取消分享
|
int |
del(Integer[] ids) |
SystemFileDO |
info(int id) |
Map<String,Object> |
list(PageParam pageParam,
SystemFileDO entity) |
boolean |
saveBatch(List<SystemFileDO> list) |
int |
set(SystemFileDO entity) |
boolean |
update(SystemFileDO entity) |
public void addFile(SystemFileDO entity, org.springframework.web.multipart.MultipartFile file)
entity - 文件信息file - 文件数据public Map<String,Object> list(PageParam pageParam, SystemFileDO entity)
public int set(SystemFileDO entity)
public boolean update(SystemFileDO entity)
public int del(Integer[] ids)
public boolean saveBatch(List<SystemFileDO> list)
saveBatch 在接口中 InductsListenerService<SystemFileDO>public SystemFileDO info(int id)
public void cancelShare(Integer id)
id - 文件编号Copyright © 2024. All rights reserved.