Uses of Class
cn.sinozg.applet.opt.module.OptMapperTable
Packages that use OptMapperTable
-
Uses of OptMapperTable in cn.sinozg.applet.common.interceptor
Methods in cn.sinozg.applet.common.interceptor that return types with arguments of type OptMapperTableModifier and TypeMethodDescriptionprivate org.apache.commons.lang3.tuple.ImmutablePair<com.baomidou.mybatisplus.core.metadata.TableInfo,OptMapperTable> OptLogMybatisInterceptor.entityTable(String sql) 获取实体对象类型Methods in cn.sinozg.applet.common.interceptor with parameters of type OptMapperTableModifier and TypeMethodDescriptionprivate voidOptLogMybatisInterceptor.handleDataLog(String methodId, org.apache.ibatis.mapping.BoundSql boundSql, OptMapperTable mapperTable, org.apache.ibatis.mapping.SqlCommandType type, com.baomidou.mybatisplus.core.metadata.TableInfo tableInfo, org.apache.ibatis.session.Configuration configuration) 设置单次sql 的基本信息OptLogMybatisInterceptor.newValueMap(Object object, OptMapperTable mapperTable, List<org.apache.ibatis.mapping.ParameterMapping> mappings) 获取到参数组成的原始数据 可能没有主键 update 可以是一个 eg:where for_key = ?OptLogMybatisInterceptor.oldValuesByDb(org.apache.ibatis.session.Configuration configuration, org.apache.ibatis.mapping.BoundSql boundSql, OptMapperTable mapperTable, com.baomidou.mybatisplus.core.metadata.TableInfo tableInfo, String foreignIdName) 从数据库根据sql 条件查询原始数据转为 id:需要记录字段mapOptLogMybatisInterceptor.oneSql(String originalSql, org.apache.ibatis.session.SqlSession sqlSession, String statementSql, org.apache.ibatis.mapping.BoundSql boundSql, OptMapperTable mapperTable, String foreignIdName) 可能存在批量sql 执行单次sqlOptLogMybatisInterceptor.valueMap(Object bean, OptMapperTable mapperTable, List<org.apache.ibatis.mapping.ParameterMapping> mappings, String foreignIdName) -
Uses of OptMapperTable in cn.sinozg.applet.opt.cache
Methods in cn.sinozg.applet.opt.cache that return OptMapperTableModifier and TypeMethodDescriptionprivate static OptMapperTableOptLogCache.generatorTableInfo(Class<?> clazz, OptLogProperties properties) 根据实体配置,生成数据日志记录信息static OptMapperTableOptLogCache.getCacheTableInfo(Class<?> clazz, OptLogProperties properties) 从缓存获取到 实体信息private static OptMapperTableOptLogCache.tableBaseInfo(Class<?> clazz, OptLogProperties properties) 基础信息Methods in cn.sinozg.applet.opt.cache with parameters of type OptMapperTableModifier and TypeMethodDescriptionprivate static OptMapperColumnOptLogCache.column(OptMapperTable table, Field field, OptLogProperties properties) 获取字段信息