| Package | Description |
|---|---|
| cn.sinozg.applet.common.interceptor | |
| cn.sinozg.applet.opt.enums | |
| cn.sinozg.applet.opt.module | |
| cn.sinozg.applet.opt.util |
| Modifier and Type | Method and Description |
|---|---|
private ModeEnum |
OptLogMybatisInterceptor.modeEnum(org.apache.ibatis.mapping.SqlCommandType type,
List<Map<String,Object>> newValues,
Map<String,Map<String,Object>> oldValues)
判定执行类型
|
| Modifier and Type | Method and Description |
|---|---|
static ModeEnum |
ModeEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModeEnum[] |
ModeEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
private ModeEnum |
OptLogTableInfo.mode |
| Modifier and Type | Method and Description |
|---|---|
static List<OptLogTableInfo> |
OptUtil.compare(List<Map<String,Object>> newValues,
Map<String,Map<String,Object>> oldValues,
Map<String,OptMapperColumn> propMap,
OptLogTableDetail tableDetail,
ModeEnum modeEnum)
对比一次sql 执行后的数据差异
|
private static OptLogTableInfo |
OptUtil.compareTable(Map<String,Object> newValues,
Map<String,Object> oldValues,
Map<String,OptMapperColumn> propMap,
OptLogTableDetail tableDetail,
ModeEnum modeEnum)
对比表一条记录的数据差异
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
OptUtil.setChangeList(Map<ModeEnum,OptLogDiffTableChange> changes,
OptLogDiffTable table)
设置 对比结果到一个表的集合里面去
|
private static void |
OptUtil.setTableDiffByMode(Map<ModeEnum,OptLogDiffTableChange> map,
OptLogTableInfo t,
AnalysisMiddleware mom)
根据类型 设置表的修改信息
|
Copyright © 2024. All rights reserved.