@RestController(value="engine-web-report")
@RequestMapping(value="/engine/web/report")
@ConditionalOnExpression(value="${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.report.enabled:true}")
public class EngineReportController
extends BaseController
request, response| 构造器和说明 |
|---|
EngineReportController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResult<String> |
delete(String refid)
删除操作接口
该接口用于处理删除请求,执行删除操作并返回结果。
|
ApiResult<List<Map<String,Object>>> |
list(String refid)
根据refid获取报告列表
|
ApiResult<String> |
save(List<Map<String,Object>> data)
保存次序接口
该接口接收一个包含数据的列表,解析refid并进行删除操作,最后返回操作结果。
|
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@GetMapping(value="/list") @Permission(value="") public ApiResult<List<Map<String,Object>>> list(@RequestParam(required=false) String refid) throws BusiException
refid - 报告的唯一标识符BusiException - 业务异常@PostMapping(value="/delete") @Permission(value="") public ApiResult<String> delete(@RequestBody String refid) throws BusiException, SQLException
BusiExceptionSQLException@PostMapping(value="/save") @Permission(value="") public ApiResult<String> save(@RequestBody List<Map<String,Object>> data) throws BusiException, SQLException
data - 要删除的数据列表,包含具体的数据项BusiException - 业务异常,当业务逻辑出现错误时抛出SQLException - 数据库异常,当数据库操作失败时抛出Copyright © 2025. All rights reserved.