diff --git a/src/com/api/salary/web/LoggerTableController.java b/src/com/api/salary/web/LoggerTableController.java
deleted file mode 100644
index ddf2b4f41..000000000
--- a/src/com/api/salary/web/LoggerTableController.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package com.api.salary.web;
-
-import javax.ws.rs.Path;
-
-/**
- * 日志列表公共接口暴漏
- *
Copyright: Copyright (c) 2023
- * Company: 泛微软件
- *
- * @author qiantao
- * @version 1.0
- **/
-@Path("/bs/hrmsalary/elog")
-public class LoggerTableController extends com.engine.salary.elog.web.LoggerTableController{
-}
diff --git a/src/com/engine/salary/elog/annotation/Elog.java b/src/com/engine/salary/elog/annotation/Elog.java
deleted file mode 100644
index 7e00ca25e..000000000
--- a/src/com/engine/salary/elog/annotation/Elog.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import java.lang.annotation.*;
-
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.METHOD})
-public @interface Elog {
-
- String module();
-
- String function();
-
- String operateType();
-
- String operateTypeName();
-
- String sql() default "";
-
- boolean isLocal() default true;
-
- String infoMethod() default "";
-}
diff --git a/src/com/engine/salary/elog/annotation/ElogDetailField.java b/src/com/engine/salary/elog/annotation/ElogDetailField.java
deleted file mode 100644
index 129c57da8..000000000
--- a/src/com/engine/salary/elog/annotation/ElogDetailField.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import java.lang.annotation.*;
-
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.FIELD})
-public @interface ElogDetailField {
-
- String fieldType() default "varchar";
- String length() default "50";
- String fieldName();
- String desc() default "自定义字段";
-}
diff --git a/src/com/engine/salary/elog/annotation/ElogDetailTable.java b/src/com/engine/salary/elog/annotation/ElogDetailTable.java
deleted file mode 100644
index d5054b7c1..000000000
--- a/src/com/engine/salary/elog/annotation/ElogDetailTable.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import java.lang.annotation.*;
-
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.TYPE})
-public @interface ElogDetailTable {
-
- String module();
-
- String function() default "common";
-}
diff --git a/src/com/engine/salary/elog/annotation/ElogField.java b/src/com/engine/salary/elog/annotation/ElogField.java
deleted file mode 100644
index a60c1f6a7..000000000
--- a/src/com/engine/salary/elog/annotation/ElogField.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import com.engine.salary.elog.entity.dto.DataTypeEnum;
-
-import java.lang.annotation.*;
-
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.FIELD})
-public @interface ElogField {
-
- DataTypeEnum dataType() default DataTypeEnum.VARCHAR;
-
- int length() default 50;
-
- String comment() default "自定义字段";
-
- String defaultValue() default "";
-
- boolean isNull() default true;
-
- boolean isKey() default false;
-}
diff --git a/src/com/engine/salary/elog/annotation/ElogPrimaryKey.java b/src/com/engine/salary/elog/annotation/ElogPrimaryKey.java
deleted file mode 100644
index 291f82562..000000000
--- a/src/com/engine/salary/elog/annotation/ElogPrimaryKey.java
+++ /dev/null
@@ -1,9 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import java.lang.annotation.*;
-
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.PARAMETER})
-public @interface ElogPrimaryKey {
-}
diff --git a/src/com/engine/salary/elog/annotation/ElogTable.java b/src/com/engine/salary/elog/annotation/ElogTable.java
deleted file mode 100644
index a236b5b6e..000000000
--- a/src/com/engine/salary/elog/annotation/ElogTable.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import org.springframework.stereotype.Component;
-
-import java.lang.annotation.*;
-
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.TYPE})
-
-public @interface ElogTable {
-
- String module();
-
- String function() default "common";
-}
diff --git a/src/com/engine/salary/elog/annotation/ElogTransform.java b/src/com/engine/salary/elog/annotation/ElogTransform.java
deleted file mode 100644
index 120c41d8d..000000000
--- a/src/com/engine/salary/elog/annotation/ElogTransform.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import java.lang.annotation.*;
-
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.FIELD, ElementType.TYPE})
-@Inherited
-public @interface ElogTransform {
-
- String tablename() default "";
-
- String name();
-
- int labelId() default -1;
-
- String type() default "";
-
- String valuesKVPairs() default "";
-
- boolean ignore() default false;
-
- boolean analyticSubclass() default false;
-
- boolean analyticList() default false;
-
- Class> analyticListClass() default void.class;
-
-}
diff --git a/src/com/engine/salary/elog/annotation/HandleElog.java b/src/com/engine/salary/elog/annotation/HandleElog.java
deleted file mode 100644
index 387666b18..000000000
--- a/src/com/engine/salary/elog/annotation/HandleElog.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-@Target(ElementType.TYPE)
-@Retention(RetentionPolicy.RUNTIME)
-public @interface HandleElog {
-
- String modulename() default "";
-
- String functionname() default "";
-
- String service() default "";
-}
diff --git a/src/com/engine/salary/elog/annotation/LoggerTarget.java b/src/com/engine/salary/elog/annotation/LoggerTarget.java
deleted file mode 100644
index 701d4f8e6..000000000
--- a/src/com/engine/salary/elog/annotation/LoggerTarget.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-import java.lang.annotation.*;
-
-/**
- * @ClassName: LoggerTarget
- * @Description 日志构造器-自定义注解
- * @Author tanghj
- * @Date 2021/2/10 14:18
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.TYPE})
-public @interface LoggerTarget {
-// @AliasFor("module")
- String value() default "";
-
-// @AliasFor("value")
- String module() default "";
-
- String function() default "common";
-}
diff --git a/src/com/engine/salary/elog/annotation/OperateType.java b/src/com/engine/salary/elog/annotation/OperateType.java
deleted file mode 100644
index 7dbb84303..000000000
--- a/src/com/engine/salary/elog/annotation/OperateType.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package com.engine.salary.elog.annotation;
-
-public class OperateType {
- public static final String view = "view";
- public static final String viewSpan = "查看";
-
- public static final String add = "add";
- public static final String addSpan = "新增";
-
- public static final String update = "update";
- public static final String updateSpan = "更新";
-
- public static final String delete = "delete";
- public static final String deleteSpan = "删除";
-}
diff --git a/src/com/engine/salary/elog/annotation/handle/ElogHandler.java b/src/com/engine/salary/elog/annotation/handle/ElogHandler.java
deleted file mode 100644
index 7cb1dda25..000000000
--- a/src/com/engine/salary/elog/annotation/handle/ElogHandler.java
+++ /dev/null
@@ -1,177 +0,0 @@
-//package com.engine.salary.elog.annotation.handle;
-//
-//import com.weaver.common.async.producer.client.AsyncClient;
-//import com.weaver.common.distribution.genid.IdGenerator;
-//import com.weaver.common.elog.annotation.Elog;
-//import com.weaver.common.elog.annotation.ElogPrimaryKey;
-//import com.weaver.common.elog.dao.QueryCurretValusMapper;
-//import com.weaver.common.elog.dto.LoggerContext;
-//import com.weaver.common.elog.util.LoggerTemplate;
-//import org.apache.commons.lang3.StringUtils;
-//import org.aspectj.lang.ProceedingJoinPoint;
-//import org.aspectj.lang.Signature;
-//import org.aspectj.lang.annotation.Around;
-//import org.aspectj.lang.annotation.Aspect;
-//import org.aspectj.lang.annotation.Pointcut;
-//import org.aspectj.lang.reflect.MethodSignature;
-//import org.springframework.beans.factory.annotation.Autowired;
-//import org.springframework.context.ApplicationContext;
-//import org.springframework.stereotype.Component;
-//import org.springframework.util.ReflectionUtils;
-//
-//import java.lang.annotation.Annotation;
-//import java.lang.reflect.Method;
-//import java.util.Date;
-//import java.util.List;
-//import java.util.Map;
-//
-//
-///**
-// * @ClassName: LoggerTargetHandler
-// * @Description 从Spring扫描到的类中获取到Elog自定义注解类设置function属性
-// * @Author tanghj
-// * @Date 2021/2/10 14:18
-// */
-//@Aspect
-//
-//public class ElogHandler {
-//
-// @Autowired
-// ApplicationContext applicationContext;
-//
-// @Autowired
-// protected AsyncClient asyncClient;
-//
-// @Autowired
-// QueryCurretValusMapper queryCurretValusMapper;
-//
-// /**
-// * 切面写入日志
-// */
-// @Pointcut("@annotation(com.weaver.common.elog.annotation.Elog)" )
-// public void writeLog(){}
-// @Around("writeLog()")
-// public Object writeLog(ProceedingJoinPoint pjp){
-// Object[] args = pjp.getArgs();
-// Signature signature = pjp.getSignature();
-// MethodSignature methodSignature = (MethodSignature) signature;
-// Method method = methodSignature.getMethod();
-//
-// Elog elog = method.getAnnotation(Elog.class);
-// String moduleName = elog.module();
-// String funtionName = elog.function();
-// String operateType = elog.operateType();
-// String operateTypeName = elog.operateTypeName();
-// boolean isLocal = elog.isLocal();
-// Annotation[][] annos = method.getParameterAnnotations();
-//
-// Object id = null;
-// int keyPosition = -1;
-// int index = 0;
-//
-// Class idClass = null;
-// // 获取主键id注解
-// for(Annotation[] anno : annos) {
-// if(anno.length > 0) {
-// for(Annotation annotation : anno) {
-// if(annotation instanceof ElogPrimaryKey) {
-// idClass = method.getParameters()[index].getType();
-// id = args[index];
-// if(StringUtils.isEmpty(id+"")) {
-// id = idClass.cast(IdGenerator.generate() + "");
-// }
-// keyPosition = index;
-// break;
-// }
-// }
-// }
-// index ++;
-// }
-//
-// LoggerContext loggerContext = null;
-// // 获取日志实体类
-// for(Object arg: args) {
-// if(arg instanceof LoggerContext) {
-// loggerContext = (LoggerContext) arg;
-// break;
-// }
-// }
-//
-// if(loggerContext == null) {
-// loggerContext = new LoggerContext();
-// }
-//
-// // 日志实体类的初始化
-// // loggerContext.setOperateType("UPDATE");
-// loggerContext.setFunctionName(funtionName);
-// loggerContext.setModuleName(moduleName);
-// loggerContext.setOperateType(operateType);
-// loggerContext.setOperateTypeName(operateTypeName);
-// loggerContext.setDate(new Date());
-// loggerContext.setDevice("IOS");
-//
-// String sql = elog.sql();
-// String infoMethod = elog.infoMethod();
-//
-// boolean isSql = false;
-// boolean isMethod = false;
-// Object currentClass = null;
-// Method infoMtd = null;
-// if(StringUtils.isNotEmpty(id+"")) {
-// if(StringUtils.isNotEmpty(sql)) {
-// isSql = true;
-// Map oldValue = queryCurretValusMapper.queryValues(String.format(sql, id));
-// loggerContext.setOldValues(oldValue);
-// } else if(StringUtils.isNotEmpty(infoMethod)){
-// isMethod = true;
-// currentClass = applicationContext.getBean(pjp.getTarget().getClass());
-// // 获取方法
-// infoMtd = ReflectionUtils.findMethod(pjp.getTarget().getClass(),infoMethod, idClass);
-//
-// // todo 为空的情况加异常提醒
-// // 反射执行方法
-// Object res= ReflectionUtils.invokeMethod(infoMtd,currentClass, id);
-// if(res != null) {
-// if(res instanceof List) {
-// loggerContext.setOldValueList((List) res);
-// } else {
-// loggerContext.setOldValues(res);
-// }
-//
-// }
-// }
-// }
-//
-// LoggerTemplate loggerTemplate = new LoggerTemplate();
-// loggerTemplate.setFunction(funtionName);
-// loggerTemplate.setModule(moduleName);
-// loggerTemplate.setAsyncClient(asyncClient);
-//
-// Object result = null;
-// try {
-// args[keyPosition] = id;
-// result = pjp.proceed(args);
-// } catch (Throwable throwable) {
-// throwable.printStackTrace();
-// }
-// if(isSql) {
-// Map oldValue = queryCurretValusMapper.queryValues(String.format(sql, id));
-// loggerContext.setNewValues(oldValue);
-// } else if(isMethod) {
-// Object res= ReflectionUtils.invokeMethod(infoMtd,currentClass, id);
-// if(res != null) {
-// if(res instanceof List) {
-// loggerContext.setNewValueList((List) res);
-// } else {
-// loggerContext.setNewValues(res);
-// }
-// }
-// }
-// if(isLocal)
-// loggerTemplate.write(loggerContext);
-// else
-// loggerTemplate.write(loggerContext,false);
-// return result;
-//
-// }
-//}
diff --git a/src/com/engine/salary/elog/annotation/handle/ElogTableScanner.java b/src/com/engine/salary/elog/annotation/handle/ElogTableScanner.java
deleted file mode 100644
index 709e8e0cb..000000000
--- a/src/com/engine/salary/elog/annotation/handle/ElogTableScanner.java
+++ /dev/null
@@ -1,156 +0,0 @@
-//package com.engine.salary.elog.annotation.handle;
-//
-//import com.engine.salary.elog.annotation.ElogField;
-//import com.engine.salary.elog.annotation.ElogTable;
-//import com.engine.salary.elog.entity.dto.DataTypeEnum;
-//import com.engine.salary.elog.entity.dto.TableColumnBean;
-//import com.engine.salary.elog.util.ElogUtils;
-//import lombok.extern.slf4j.Slf4j;
-//import org.reflections.Reflections;
-//import org.slf4j.Logger;
-//import org.slf4j.LoggerFactory;
-//
-//import java.lang.reflect.Field;
-//import java.util.*;
-//import java.util.stream.Collectors;
-//
-///**
-// * @ClassName: ElogTableScanner
-// * @Description 日志操作表扫描
-// * @Author tanghj
-// * @Date 2021/3/12 13:31
-// */
-//@Slf4j
-//public class ElogTableScanner {
-// private Logger logger = LoggerFactory.getLogger(this.getClass());
-//
-//// private TableCheckerMapper tableCheckerMapper;
-//
-//// @Override
-// public void run() throws Exception {
-//
-// // todo 需要考虑集群下,控制一台机器来跑
-// scanElogTable();
-//
-// }
-//
-// private void scanElogTable() {
-// // todo 是否还需要扫描Elog(因为可能不需要本地存储) ELogDetailTable,
-//// Map tableBeans = this.applicationContext.getBeansWithAnnotation(ElogTable.class);
-// Reflections reflections = new Reflections("com.engine.salary.elog");
-// Set> tableBeans = reflections.getTypesAnnotatedWith(ElogTable.class);
-//
-//
-// List baseColumns = new ArrayList<>();
-//
-// Map> tableColumns = elogTableHandle(tableBeans,baseColumns);
-//
-// for(String tableName : tableColumns.keySet()) {
-//
-// // todo 需要处理明细表,如果没有直接初始化原始明细表,如果有加上自定义的
-// List columns = tableColumns.get(tableName);
-// if(columns == null) {
-// columns = baseColumns;
-// } else {
-// columns.addAll(baseColumns);
-// }
-// tableCheck(tableName, columns);
-// }
-//
-// }
-//
-// private Map> elogTableHandle(Set> tableBeans, List baseColumns) {
-// Map> tableMap = new HashMap<>();
-// for (Class> aClass :tableBeans) {//遍历每个controller层
-//
-// List list = new ArrayList<>();
-//
-// ElogTable elogTable = aClass.getAnnotation(ElogTable.class);
-//
-// List fields = Arrays.asList(aClass.getDeclaredFields());//获取方法
-// for (Field f : fields) {
-//
-// ElogField field = f.getAnnotation(ElogField.class);
-// if(field == null) {
-// continue;
-// }
-//
-// TableColumnBean tableColumnBean = new TableColumnBean();
-//
-// tableColumnBean.setColumnName(f.getName());
-// tableColumnBean.setColumnComment(field.comment());
-// tableColumnBean.setColumnDefault(field.defaultValue());
-// tableColumnBean.setFieldLength(field.length());
-// tableColumnBean.setDataType(field.dataType());
-// tableColumnBean.setNullable(field.isNull());
-// list.add(tableColumnBean);
-// }
-// if(!ElogUtils.BASE_TABLE.equals(elogTable.module())) {
-// tableMap.put(ElogUtils.getTableName(elogTable.module(), elogTable.function()), list);
-// } else {
-// baseColumns.addAll(list);
-// }
-// }
-//
-// return tableMap;
-// }
-//
-// private void tableCheck(String tableName, List columns) {
-// List oldColumns = new ArrayList<>();
-//// List oldColumns = tableCheckerMapper.getTableStructure(tableName);
-//
-// // 表不存在
-// if(oldColumns == null || oldColumns.size() == 0) {
-// createTable(tableName,columns );
-// } else {
-// Map newcolMap = new HashMap<>();
-// Map oldcolMap = new HashMap<>();
-//
-// columns.stream().forEach(tableColumnBean -> newcolMap.put(tableColumnBean.getColumnName().toLowerCase(), tableColumnBean));
-// oldColumns.stream().forEach(tableColumnBean -> {
-// tableColumnBean.setDataType(ElogUtils.getEnumFromString(DataTypeEnum.class, tableColumnBean.getDataTypeStr()));
-// tableColumnBean.setNullable("YES".equalsIgnoreCase(tableColumnBean.getIsNullableStr()));
-// oldcolMap.put(tableColumnBean.getColumnName().toLowerCase(), tableColumnBean);
-// });
-// // 只增加或者修改,不删除字段
-// for(String key : newcolMap.keySet()) {
-// if(oldcolMap.containsKey(key)) {
-// // 字段变动则修改
-// if(!(newcolMap.get(key).toSql()).equals(oldcolMap.get(key).toSql()))
-// this.modifyColumn(tableName, newcolMap.get(key));
-// } else {
-// this.addColumn(tableName, newcolMap.get(key));
-// }
-// }
-// }
-//
-// }
-//
-// private void createTable(String tableName, List columns) {
-// StringBuilder sb = new StringBuilder("create table ").append(tableName).append(" ( ");
-// sb.append(columns.stream().map( bean -> bean.toSql()).collect(Collectors.joining(",")));
-// sb.append(")");
-// logger.info("创建sql:{}",sb.toString());
-//// tableCheckerMapper.createElogTable(sb.toString());
-// }
-//
-// private void addColumn(String tableName, TableColumnBean tableColumnBean) {
-// StringBuilder sb = new StringBuilder("alter table ")
-// .append(tableName).append(" ")
-// .append(" add ")
-// .append(" column ")
-// .append(tableColumnBean.toSql());
-// logger.info("新增字段sql:{}",sb.toString());
-//// tableCheckerMapper.createElogTable(sb.toString());
-// }
-//
-// private void modifyColumn(String tableName, TableColumnBean tableColumnBean) {
-// StringBuilder sb = new StringBuilder("alter table ")
-// .append(tableName).append(" ")
-// .append(" modify ")
-// .append(" column ")
-// .append(tableColumnBean.toSql());
-// logger.info("修改字段sql:{}",sb.toString());
-//// tableCheckerMapper.createElogTable(sb.toString());
-// }
-//}
diff --git a/src/com/engine/salary/elog/annotation/handle/LoggerTargetHandler.java b/src/com/engine/salary/elog/annotation/handle/LoggerTargetHandler.java
deleted file mode 100644
index b1934e4d3..000000000
--- a/src/com/engine/salary/elog/annotation/handle/LoggerTargetHandler.java
+++ /dev/null
@@ -1,38 +0,0 @@
-//package com.engine.salary.elog.annotation.handle;
-//
-//import com.weaver.common.elog.annotation.LoggerTarget;
-//import com.weaver.common.elog.util.LoggerTemplate;
-//import org.apache.commons.lang3.StringUtils;
-//import org.springframework.beans.factory.annotation.Autowired;
-//import org.springframework.boot.CommandLineRunner;
-//import org.springframework.context.ApplicationContext;
-//import org.springframework.stereotype.Component;
-//
-//import java.util.Map;
-//
-//
-///**
-// * @ClassName: LoggerTargetHandler
-// * @Description 从Spring扫描到的类中获取到LoggerTarget自定义注解类设置function属性
-// * @Author tanghj
-// * @Date 2021/2/10 14:18
-// */
-//
-//public class LoggerTargetHandler {
-//
-// ApplicationContext applicationContext;
-//
-// @Override
-// public void run(String... args) throws Exception {
-// Map loggtemplateMap = applicationContext.getBeansWithAnnotation(LoggerTarget.class);
-//
-// for(Object obj : loggtemplateMap.values()) {
-// if(obj instanceof LoggerTemplate) {
-// LoggerTarget loggerTarget = obj.getClass().getAnnotation(LoggerTarget.class);
-// ((LoggerTemplate) obj).setFunction(loggerTarget.function());
-// ((LoggerTemplate) obj).setModule(StringUtils.isNotEmpty(loggerTarget.value()) ? loggerTarget.value() : loggerTarget.module());
-// }
-//
-// }
-// }
-//}
diff --git a/src/com/engine/salary/elog/async/LoggerMessageListener.java b/src/com/engine/salary/elog/async/LoggerMessageListener.java
deleted file mode 100644
index 2bf5dc957..000000000
--- a/src/com/engine/salary/elog/async/LoggerMessageListener.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.engine.salary.elog.async;
-
-import com.engine.salary.elog.config.ELogTableChecker;
-import com.engine.salary.elog.entity.dto.LoggerContext;
-import com.engine.salary.elog.service.impl.LocalElogService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * @ClassName: LoggerMessageListener
- * @Description 本地日志存储消息队列监听类
- * @Author tanghj
- * @Date 2021/2/10 14:18
- */
-public class LoggerMessageListener {
-
- private final Logger logger = LoggerFactory.getLogger(getClass());
-
- LocalElogService localElogService = new LocalElogService();
-
- public String receiveold(LoggerContext messageBean) {
-
- new ELogTableChecker().check(messageBean);
- localElogService.insertLocalElog(messageBean);
-
- return "";
- }
-
-
-}
diff --git a/src/com/engine/salary/elog/config/ELogCache.java b/src/com/engine/salary/elog/config/ELogCache.java
deleted file mode 100644
index 841bddf18..000000000
--- a/src/com/engine/salary/elog/config/ELogCache.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.engine.salary.elog.config;
-
-import com.engine.salary.mapper.elog.ElogTableCheckerMapper;
-import com.engine.salary.util.db.MapperProxyFactory;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class ELogCache {
-
- private Map tableCache = new HashMap<>();
-
- private ElogTableCheckerMapper getTableCheckerMapper() {
- return MapperProxyFactory.getProxy(ElogTableCheckerMapper.class);
- }
-
- public Long getVersion(String mainTable) {
- Long version = tableCache.get(mainTable);
- if (version == null) {
- version = getTableCheckerMapper().getVersion(mainTable);
- tableCache.put(mainTable, version);
- }
- return version;
- }
-}
diff --git a/src/com/engine/salary/elog/config/ELogTableChecker.java b/src/com/engine/salary/elog/config/ELogTableChecker.java
deleted file mode 100644
index 741dea65c..000000000
--- a/src/com/engine/salary/elog/config/ELogTableChecker.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package com.engine.salary.elog.config;
-
-import com.engine.salary.elog.entity.dto.LoggerContext;
-import com.engine.salary.mapper.elog.ElogTableCheckerMapper;
-import com.engine.salary.util.db.IdGenerator;
-import com.engine.salary.util.db.MapperProxyFactory;
-
-
-public class ELogTableChecker {
- private static final long version = 0;
- private ELogCache eLogCache = new ELogCache();
-
- private ElogTableCheckerMapper getTableCheckerMapper() {
- return MapperProxyFactory.getProxy(ElogTableCheckerMapper.class);
- }
-
- public void check(LoggerContext loggerContext) {
- String module = loggerContext.getModuleName();
- String function = loggerContext.getFunctionName();
- String mainTable = String.format("%s_%slogs", module, function);
- Long v = eLogCache.getVersion(mainTable);
- boolean noTable = v == null;
- if (noTable) {
- this.initTable(mainTable);
- v = version;
- } else {
- this.checkVersion(mainTable, v);
- }
-
- }
-
- private void checkVersion(String mainTable, Long v) {
- if (v == version) {
- return;
- }
- }
-
-
- private void initTable(String mainTable) {
- getTableCheckerMapper().recordVersion(IdGenerator.generate(), mainTable, version);
- getTableCheckerMapper().createMainTable(mainTable);
- getTableCheckerMapper().createDetailTable(mainTable + "_detail");
- }
-}
diff --git a/src/com/engine/salary/elog/entity/dto/CancelContext.java b/src/com/engine/salary/elog/entity/dto/CancelContext.java
deleted file mode 100644
index d7ecccb7b..000000000
--- a/src/com/engine/salary/elog/entity/dto/CancelContext.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.engine.salary.elog.entity.dto;
-
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-
-/**
- * @ClassName: CancelContext
- * @Description 撤销实体类
- * @Author tanghj
- * @Date 2021/2/10 14:18
- */
-@ApiModel("撤销实体类")
-public class CancelContext {
-
- @ApiModelProperty("撤销参数")
- private T cancleParams;
-
- public T getCancleParams() {
- return cancleParams;
- }
-
- public void setCancleParams(T cancleParams) {
- this.cancleParams = cancleParams;
- }
-}
diff --git a/src/com/engine/salary/elog/entity/dto/DataTypeEnum.java b/src/com/engine/salary/elog/entity/dto/DataTypeEnum.java
deleted file mode 100644
index b31b8e490..000000000
--- a/src/com/engine/salary/elog/entity/dto/DataTypeEnum.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package com.engine.salary.elog.entity.dto;
-
-public enum DataTypeEnum {
- VARCHAR,
- BIGINT,
- INT,
- DATETIME,
- TEXT,
- LONGTEXT,
- DOUBLE,
- DECIMAL,
- TINYINT,
- FLOAT;
-
-
-}
diff --git a/src/com/engine/salary/elog/entity/dto/ElogBean.java b/src/com/engine/salary/elog/entity/dto/ElogBean.java
deleted file mode 100644
index 84a24cfd9..000000000
--- a/src/com/engine/salary/elog/entity/dto/ElogBean.java
+++ /dev/null
@@ -1,116 +0,0 @@
-package com.engine.salary.elog.entity.dto;
-
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-/**
- * @Date: 2022/5/2 21:51
- * @Author: deli.xu
- * @Description: 日志中心bean
- **/
-public class ElogBean implements Serializable {
-
-
- private static final long serialVersionUID = 5357552376749564256L;
- private String module;
- private String function;
- private String current;
- private String pageSize;
- private String dataset;
- private String searchMap;
- private List showColumns = new ArrayList<>();
- private List filterConditionDtos = new ArrayList<>();
- private String downloadSize;
- private String transMethod;
- private Map authParamsJson;
-
- public String getModule() {
- return module;
- }
-
- public void setModule(String module) {
- this.module = module;
- }
-
- public String getFunction() {
- return function;
- }
-
- public void setFunction(String function) {
- this.function = function;
- }
-
- public String getCurrent() {
- return current;
- }
-
- public void setCurrent(String current) {
- this.current = current;
- }
-
- public String getPageSize() {
- return pageSize;
- }
-
- public void setPageSize(String pageSize) {
- this.pageSize = pageSize;
- }
-
- public String getDataset() {
- return dataset;
- }
-
- public void setDataset(String dataset) {
- this.dataset = dataset;
- }
-
- public String getSearchMap() {
- return searchMap;
- }
-
- public void setSearchMap(String searchMap) {
- this.searchMap = searchMap;
- }
-
- public List getShowColumns() {
- return showColumns;
- }
-
- public void setShowColumns(List showColumns) {
- this.showColumns = showColumns;
- }
-
- public List getFilterConditionDtos() {
- return filterConditionDtos;
- }
-
- public void setFilterConditionDtos(List filterConditionDtos) {
- this.filterConditionDtos = filterConditionDtos;
- }
-
- public String getDownloadSize() {
- return downloadSize;
- }
-
- public void setDownloadSize(String downloadSize) {
- this.downloadSize = downloadSize;
- }
-
- public String getTransMethod() {
- return transMethod;
- }
-
- public void setTransMethod(String transMethod) {
- this.transMethod = transMethod;
- }
-
- public Map getAuthParamsJson() {
- return authParamsJson;
- }
-
- public void setAuthParamsJson(Map authParamsJson) {
- this.authParamsJson = authParamsJson;
- }
-}
diff --git a/src/com/engine/salary/elog/entity/dto/FilterConditionDto.java b/src/com/engine/salary/elog/entity/dto/FilterConditionDto.java
deleted file mode 100644
index 28cb451e5..000000000
--- a/src/com/engine/salary/elog/entity/dto/FilterConditionDto.java
+++ /dev/null
@@ -1,91 +0,0 @@
-package com.engine.salary.elog.entity.dto;
-
-import java.io.Serializable;
-
-/**
- * @date: 2021/5/25 17:23
- * @author: deli.xu
- * @description:
- */
-public class FilterConditionDto implements Serializable {
-
- private static final long serialVersionUID = -3399942468474767859L;
-
- /**
- * 列名
- */
- private String columIndex;
- /**
- * 值
- */
- private String value;
-
- /**
- * 过滤类型
- */
- private String type;
-
- /**
- * 模糊搜索
- */
- private Like like;
-
- /**
- * 关联条件
- */
- private String connectCondition;
-
- /**
- * sql条件
- */
- private String sql;
-
-
- public String getColumIndex() {
- return columIndex;
- }
-
- public void setColumIndex(String columIndex) {
- this.columIndex = columIndex;
- }
-
- public String getValue() {
- return value;
- }
-
- public void setValue(String value) {
- this.value = value;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public Like getLike() {
- return like;
- }
-
- public void setLike(Like like) {
- this.like = like;
- }
-
- public String getConnectCondition() {
- return connectCondition;
- }
-
- public void setConnectCondition(String connectCondition) {
- this.connectCondition = connectCondition;
- }
-
- public String getSql() {
- return sql;
- }
-
- public void setSql(String sql) {
- this.sql = sql;
- }
-}
diff --git a/src/com/engine/salary/elog/entity/dto/Like.java b/src/com/engine/salary/elog/entity/dto/Like.java
deleted file mode 100644
index 2caead76c..000000000
--- a/src/com/engine/salary/elog/entity/dto/Like.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.engine.salary.elog.entity.dto;
-
-import java.io.Serializable;
-
-/**
- * @date: 2021/6/1 17:50
- * @author: deli.xu
- * @description:
- */
-public class Like implements Serializable {
- private static final long serialVersionUID = -3399942468474767851L;
- private String prefix;
- private String suffix;
-
-
- public String getPrefix() {
- return prefix;
- }
-
- public void setPrefix(String prefix) {
- this.prefix = prefix;
- }
-
- public String getSuffix() {
- return suffix;
- }
-
- public void setSuffix(String suffix) {
- this.suffix = suffix;
- }
-}
diff --git a/src/com/engine/salary/elog/entity/dto/LoggerContext.java b/src/com/engine/salary/elog/entity/dto/LoggerContext.java
deleted file mode 100644
index f9be10c8f..000000000
--- a/src/com/engine/salary/elog/entity/dto/LoggerContext.java
+++ /dev/null
@@ -1,890 +0,0 @@
-package com.engine.salary.elog.entity.dto;
-
-import com.alibaba.fastjson.annotation.JSONField;
-import com.engine.salary.elog.annotation.ElogField;
-import com.engine.salary.elog.annotation.ElogTable;
-import com.engine.salary.elog.enums.ElogConsts;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import org.apache.commons.lang3.StringUtils;
-import weaver.hrm.User;
-
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-import java.util.Map;
-
-/**
- * @ClassName: LoggerContext
- * @Description 日志实体类。支持通过泛型扩展日志字段
- * @Author tanghj
- * @Date 2021/2/10 14:18
- */
-@ElogTable(module = ElogConsts.BASE_TABLE)
-@ApiModel("日志实体类")
-public class LoggerContext implements Serializable {
-
- private static final long serialVersionUID = 15869325700230992L;
-
- private User user;
-
- @ElogField(comment = "ID", dataType = DataTypeEnum.BIGINT, isKey = true)
- @ApiModelProperty("日志ID")
- private long id;
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 36, comment = "日志UUID")
- @ApiModelProperty("日志UUID")
- private String uuid = "";
-
- @ApiModelProperty("自定义日志字段信息")
- private T customInfo;
- @ElogField(dataType = DataTypeEnum.DATETIME, comment = "操作时间")
- @ApiModelProperty("操作时间")
- @JSONField(format = "yyyy-MM-dd HH:mm:ss")
- private Date date = new Date();
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 500, comment = "终端信息")
- @ApiModelProperty("终端信息")
- private String device = "";
-
- @ElogField(dataType = DataTypeEnum.BIGINT, defaultValue = "-1", comment = "操作人")
- @ApiModelProperty("操作人")
- private String operator = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 100, comment = "操作人姓名")
- @ApiModelProperty("操作人姓名")
- private String operatorName = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 10, comment = "租户id")
- @ApiModelProperty("租户id")
- private String tenant_key = "";
-
- /**
- * 要操作的对象在表中的主键值
- */
- @ElogField(dataType = DataTypeEnum.BIGINT, defaultValue = "-1", comment = "操作目标id")
- @ApiModelProperty("操作目标id")
- private String targetId = "";
-
- @ElogField(dataType = DataTypeEnum.TEXT, comment = "操作目标名称")
- @ApiModelProperty("操作目标名称(用于显示)")
- private String targetName = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 100, comment = "模块")
- @ApiModelProperty("目标对象类型(大分类,模块,服务)")
- private String moduleName;// 模块
-
- /**
- * 目标对象类型(小分类,模块/服务下的子功能。子项目)
- * 数据存储是以模块名_子项目名作为最基本的存储单元
- * 如果是子项目下的子项目 命名为:子项目名_子项目名_子项目名(全部小写)
- */
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 100, comment = "服务(方法)")
- @ApiModelProperty("目标对象类型(小分类,模块/服务下的子功能。子项目)")
- private String functionName;
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 100, comment = "访问接口名")
- @ApiModelProperty("访问接口名")
- private String interfaceName = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 200, comment = "请求全路径")
- @ApiModelProperty("请求全路径")
- private String requestUrl = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 200, comment = "请求地址")
- @ApiModelProperty("请求地址")
- private String requestUri = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 50, comment = "操作类型")
- @ApiModelProperty("操作类型(增删改查等)")
- private String operateType = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 100, comment = "操作类型名称")
- @ApiModelProperty("操作类型名称")
- private String operateTypeName = "";
-
- /**
- * 每个TableChangeBean 为一张表,支持记录多张表的前后值
- */
- @ApiModelProperty("修改前、后的值")
- private List changeValues;// 操作表名,[字段名,值]
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 3000, comment = "操作详细说明")
- @ApiModelProperty("操作详细说明")
- private String operatedesc = "";
-
- @ElogField(dataType = DataTypeEnum.LONGTEXT, comment = "涉及的相关参数")
- @ApiModelProperty("涉及的相关参数")
- private Map params;
-
- @ApiModelProperty("涉及的相关参数-转string存储")
- private String paramsStr;
-
- /**
- * 当作为主表,belongMainId不赋值
- */
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 36, comment = "所属主表uuid")
- @ApiModelProperty("所属主表uuid")
- private String belongMainId = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 50, comment = "操作IP")
- @ApiModelProperty("操作IP")
- private String clientIp = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 50, comment = "分组")
- @ApiModelProperty("分组")
- private String groupId = "";
-
- /*@ApiModelProperty("是否明显表")
- private boolean isDetail;*/
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 1000, comment = "分组标题")
- @ApiModelProperty("分组标题")
- private String groupNameLabel = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 200, comment = "重做业务接口")
- @ApiModelProperty("重做业务接口")
- private String redoService = "";
-
- @ElogField(dataType = DataTypeEnum.LONGTEXT, comment = "重做参数")
- @ApiModelProperty("重做参数")
- private RedoContext redoContext;
-
- @ApiModelProperty("重做参数-转String存储")
- private String redoContextStr;
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 200, comment = "撤销业务接口")
- @ApiModelProperty("撤销业务接口")
- private String cancelService = "";
-
- @ElogField(dataType = DataTypeEnum.LONGTEXT, comment = "撤销参数")
- @ApiModelProperty("撤销参数")
- private CancelContext cancelContext;
-
- @ApiModelProperty("撤销参数-转String存储")
- private String cancelContextStr;
-
- @ApiModelProperty("日志明细列表(值变化列表-自动赋值、或者自定义字段)")
- private List detailContexts;
-
- @ElogField(dataType = DataTypeEnum.DATETIME, defaultValue = "CURRENT_TIMESTAMP", comment = "创建时间")
- @ApiModelProperty("创建时间")
- @JSONField(format = "yyyy-MM-dd HH:mm:ss")
- private Date create_time;
-
- @ElogField(dataType = DataTypeEnum.DATETIME, defaultValue = "CURRENT_TIMESTAMP", comment = "修改时间")
- @ApiModelProperty("修改时间")
- @JSONField(format = "yyyy-MM-dd HH:mm:ss")
- private Date update_time;
-
- @ElogField(dataType = DataTypeEnum.BIGINT, defaultValue = "-1", comment = "创建人id")
- @ApiModelProperty("创建人id")
- private long creator;
-
- @ElogField(dataType = DataTypeEnum.INT, defaultValue = "0", comment = "是否删除")
- @ApiModelProperty("是否删除")
- private int delete_type;
-
- @ElogField(dataType = DataTypeEnum.BIGINT, defaultValue = "0", comment = "总运行时长")
- @ApiModelProperty("总运行时长")
- private long totalRunTime;
-
- @ElogField(dataType = DataTypeEnum.BIGINT, defaultValue = "0", comment = "主方法运行时长")
- @ApiModelProperty("主方法运行时长")
- private long mainRunTime;
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 100, defaultValue = "", comment = "运行结果标识")
- @ApiModelProperty("运行结果标识")
- private String result = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 100, defaultValue = "", comment = "来自pc web")
- @ApiModelProperty("来自终端")
- private String fromTerminal = "";
-
- @ElogField(dataType = DataTypeEnum.TEXT, comment = "运行结果描述")
- @ApiModelProperty("运行结果描述")
- private String resultDesc = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 3000, comment = "原先内容")
- @ApiModelProperty("原先内容(et用)")
- private String old_content = "";
-
- @ElogField(dataType = DataTypeEnum.VARCHAR, length = 20, comment = "链接类型")
- @ApiModelProperty("链接类型(et用)")
- private String link_type = "";
-
- @ElogField(dataType = DataTypeEnum.BIGINT, defaultValue = "0", comment = "链接id")
- @ApiModelProperty("链接id(et用)")
- private long link_id;
-
- @ElogField(dataType = DataTypeEnum.BIGINT, defaultValue = "0", comment = "原先链接id")
- @ApiModelProperty("原先链接id(et用)")
- private long old_link_id;
-
- /**
- * 开发可以自由传中间临时参数,不会入库
- */
- @ApiModelProperty("临时参数")
- private Object tempParams;
-
- /**
- * 是否忽略该日志,不进行数据记录
- */
- @ApiModelProperty("是否忽略该日志,不进行数据记录")
- private boolean logIgnore;
-
- /**
- * 审计操作类型
- */
- @ApiModelProperty("审计操作类型")
- protected String operateAuditType;
-
- /**
- * 操作人账号
- */
- @ApiModelProperty("操作人账号")
- protected String operateAccount;
-
- @ApiModelProperty("操作人id(兼容数据库用)")
- protected long logOperator;
-
- @ApiModelProperty("操作人id(兼容数据库用)")
- protected long logTargetid;
-
- @ApiModelProperty("ES存储大字段功能标识")
- protected Boolean esFunction;
-
- @ApiModelProperty("params参数是否忽略记录")
- private Boolean paramsIgnore = Boolean.FALSE;
-
- @ApiModelProperty("params请求体keys")
- private List paramsBodyKeys;
-
- @ApiModelProperty("日志弱控记录")
- private Boolean weakElogReocrd = Boolean.FALSE;
-
- private List clobFieldList;
-
- public User getUser() {
- return user;
- }
-
- public void setUser(User user) {
- this.user = user;
- }
-
- public List getClobFieldList() {
- return clobFieldList;
- }
-
- public void setClobFieldList(List clobFieldList) {
- this.clobFieldList = clobFieldList;
- }
-
- public Boolean getWeakElogReocrd() {
- return weakElogReocrd;
- }
-
- public void setWeakElogReocrd(Boolean weakElogReocrd) {
- this.weakElogReocrd = weakElogReocrd;
- }
-
- public Boolean getParamsIgnore() {
- return paramsIgnore;
- }
-
- public void setParamsIgnore(Boolean paramsIgnore) {
- this.paramsIgnore = paramsIgnore;
- }
-
- public List getParamsBodyKeys() {
- return paramsBodyKeys;
- }
-
- public void setParamsBodyKeys(List paramsBodyKeys) {
- this.paramsBodyKeys = paramsBodyKeys;
- }
-
- public long getId() {
- return id;
- }
-
- public void setId(long id) {
- this.id = id;
- }
-
- public String getUuid() {
- return uuid;
- }
-
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
- public T getCustomInfo() {
- return customInfo;
- }
-
- public void setCustomInfo(T customInfo) {
- this.customInfo = customInfo;
- }
-
- public Date getDate() {
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- public String getDevice() {
- return device;
- }
-
- public void setDevice(String device) {
- this.device = device;
- }
-
- public String getOperator() {
- return operator;
- }
-
- public void setOperator(String operator) {
- this.operator = operator;
- }
-
- public String getTenant_key() {
- return tenant_key;
- }
-
- public void setTenant_key(String tenant_key) {
- this.tenant_key = tenant_key;
- }
-
- public String getTargetId() {
- return targetId;
- }
-
- public void setTargetId(String targetId) {
- this.targetId = targetId;
- }
-
- public String getTargetName() {
- return targetName;
- }
-
- public void setTargetName(String targetName) {
- this.targetName = targetName;
- }
-
- public String getModuleName() {
- return moduleName;
- }
-
- public void setModuleName(String moduleName) {
- this.moduleName = moduleName;
- }
-
- public String getFunctionName() {
- return functionName;
- }
-
- public void setFunctionName(String functionName) {
- this.functionName = functionName;
- }
-
- public String getInterfaceName() {
- return interfaceName;
- }
-
- public void setInterfaceName(String interfaceName) {
- this.interfaceName = interfaceName;
- }
-
- public String getOperateType() {
- return operateType;
- }
-
- public void setOperateType(String operateType) {
- this.operateType = operateType;
- }
-
- public List getChangeValues() {
- return changeValues;
- }
-
- public void setChangeValues(List changeValues) {
- this.changeValues = changeValues;
- }
-
- public String getOperatedesc() {
- return operatedesc;
- }
-
- public void setOperatedesc(String operatedesc) {
- this.operatedesc = operatedesc;
- }
-
- public Map getParams() {
- return params;
- }
-
- public void setParams(Map params) {
- this.params = params;
- }
-
- /*public String getMainId() {
- return mainId;
- }
-
- public void setMainId(String mainId) {
- this.mainId = mainId;
- }
-
- public String getBelongMainId() {
- return belongMainId;
- }
-
- public void setBelongMainId(String belongMainId) {
- this.belongMainId = belongMainId;
- }*/
-
- public String getClientIp() {
- return clientIp;
- }
-
- public void setClientIp(String clientIp) {
- this.clientIp = clientIp;
- }
-
- public String getGroupId() {
- return groupId;
- }
-
- public void setGroupId(String groupId) {
- this.groupId = groupId;
- }
-
-/* public boolean isDetail() {
- return isDetail;
- }
-
- public void setDetail(boolean detail) {
- isDetail = detail;
- }*/
-
- public String getGroupNameLabel() {
- return groupNameLabel;
- }
-
- public void setGroupNameLabel(String groupNameLabel) {
- this.groupNameLabel = groupNameLabel;
- }
-
- public String getRedoService() {
- return redoService;
- }
-
- public void setRedoService(String redoService) {
- this.redoService = redoService;
- }
-
- public RedoContext getRedoContext() {
- return redoContext;
- }
-
- public void setRedoContext(RedoContext redoContext) {
- this.redoContext = redoContext;
- }
-
- public CancelContext getCancelContext() {
- return cancelContext;
- }
-
- public void setCancelContext(CancelContext cancelContext) {
- this.cancelContext = cancelContext;
- }
-
- public String getCancelService() {
- return cancelService;
- }
-
- public void setCancelService(String cancelService) {
- this.cancelService = cancelService;
- }
-
- public List getDetailContexts() {
- return detailContexts;
- }
-
- public void setDetailContexts(List detailContexts) {
- this.detailContexts = detailContexts;
- }
-
- public void addDetailContext(LoggerDetailContext loggerDetailContext) {
- if (this.detailContexts != null) {
- this.detailContexts.add(loggerDetailContext);
- } else {
- this.detailContexts = new ArrayList<>();
- this.detailContexts.add(loggerDetailContext);
- }
- }
-
- public void addDetailContext(List list) {
- if (this.detailContexts != null) {
- this.detailContexts.addAll(list);
- } else {
- this.detailContexts = new ArrayList<>();
- this.detailContexts.addAll(list);
- }
- }
-
- public String getOperatorName() {
- return operatorName;
- }
-
- public void setOperatorName(String operatorName) {
- this.operatorName = operatorName;
- }
-
- public void setOldValues(Object object) {
- TableChangeBean bean = new TableChangeBean();
- bean.setOldValue(object);
- getChangeList().add(bean);
- }
-
- public void setOldValueList(List