@Service public class OptLogServiceImpl extends Object implements OptLogService
| 限定符和类型 | 字段和说明 |
|---|---|
private OptLogDataService |
logDataService |
private OptLogTableService |
logTableService |
private OptLogTextService |
textService |
| 构造器和说明 |
|---|
OptLogServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
private OptLogTable |
initTableInfo(String logId,
OptLogTableInfo t)
初始化表实体信息
|
void |
saveLog(String token,
LoginUserVo user,
OptLogCycleInfo cycleInfo,
Exception e,
Object jsonResult)
aop 保存
|
private OptLogTextService textService
private OptLogDataService logDataService
private OptLogTableService logTableService
@Async @Transactional(rollbackFor=java.lang.Throwable.class) public void saveLog(String token, LoginUserVo user, OptLogCycleInfo cycleInfo, Exception e, Object jsonResult)
OptLogServicesaveLog 在接口中 OptLogServicetoken - tokenuser - 用户cycleInfo - 数据e - 异常jsonResult - 结果private OptLogTable initTableInfo(String logId, OptLogTableInfo t)
logId - 日志idt - 表变更信息Copyright © 2024. All rights reserved.