This commit is contained in:
2026-08-14 12:20:52 +08:00
parent ce0812211c
commit afd7c9d704
17 changed files with 1641 additions and 0 deletions
@@ -0,0 +1,24 @@
package com.yunhai.bschclassmanage.service;
import com.yunhai.bschclassmanage.entity.SysOperationLog;
import com.yunhai.bschclassmanage.model.vo.PageVO;
import org.springframework.data.domain.Pageable;
public interface ISysOperationLogService {
/** 切面 finally 调用,@Async("auditLogExecutor") + REQUIRES_NEW,失败仅记日志 */
void saveAsync(SysOperationLog entity);
/** 分页查询(不含 response_data 投影;实体直查,初版简单先行) */
PageVO<SysOperationLog> pageQuery(Integer schId, String uri, String method,
Integer statusCode, Integer logLevel,
Integer userId, Pageable pageable);
/** 取单条(含 response_data)用于下载 */
SysOperationLog getById(Long id);
/** 解压某条响应原文 */
String getResponseData(Long id);
/** 定时清理,返回删除条数 */
long cleanupExpired();
}