@RestController(value="engine-web-export")
@RequestMapping(value="/engine/web/export")
@ConditionalOnExpression(value="${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.export.enabled:true}")
public class EngineExportController
extends BaseController
request, response| 构造器和说明 |
|---|
EngineExportController() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
download(Map<String,Object> params)
批量导出接口
用于根据提供的refid和fileName进行文件批量导出操作
|
ApiResult<Object> |
history(String refid)
获取导出历史接口
该接口用于获取指定引用ID的导入历史记录
|
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getNickname, getTenantId, getUserName, getUserNo, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, response, success, success, success, success, validateToken@PostMapping(value="/download") @Permission(value="") public Object download(@RequestBody Map<String,Object> params) throws BusiException, TokenAuthenticationException, AccessPermissionException, SQLException
@GetMapping(value="/history") @Permission(value="") public ApiResult<Object> history(@RequestParam(required=false) String refid) throws BusiException, TokenAuthenticationException, AccessPermissionException, SQLException
refid - 引用ID,用于标识需要查询的导出历史记录,非必填参数BusiException - 如果refid为空,则抛出BusiException异常TokenAuthenticationException - 如果令牌认证失败,则抛出TokenAuthenticationException异常AccessPermissionException - 如果访问权限验证失败,则抛出AccessPermissionException异常SQLException - 如果数据库查询出现异常,则抛出SQLException异常Copyright © 2026. All rights reserved.