@Service @Scope(proxyMode=TARGET_CLASS) public class ExportJobService extends BaseService<ExportJob>
| 构造器和说明 |
|---|
ExportJobService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doExport(String type,
java.util.function.Supplier<String> exportExecutor)
导出
|
ExportJobDao |
getDao() |
actionLogEnable, add, beforeUpdate, delete, delete, fillOtherFields, fillOtherFields, get, getByCode, getByCodeList, list, updatepublic ExportJobDao getDao()
getDao 在类中 BaseService<ExportJob>public void doExport(String type, java.util.function.Supplier<String> exportExecutor)
type - 类型,自定义字符串,用于隔离不同的导出数据。在获取导出列表时用到。exportExecutor - 导出器,导出后返回导出文件的下载地址。比如将文件上传到OSS,然后返回下载地址。Copyright © 2022. All rights reserved.