|
|
|
@ -31,7 +31,7 @@ public interface CoreDictDao extends BaseMapper<CoreDict> {
|
|
|
|
|
|
|
|
|
|
//根据表名、字段名查询 主键名和注释 和 字段名和注释
|
|
|
|
|
|
|
|
|
|
@Cacheable(value = DICT_CACHE_FIND_PK_AND_VALUE, key = "#tableName + #columnNames", cacheManager = "cacheManager5Second")
|
|
|
|
|
@Cacheable(value = DICT_CACHE_FIND_PK_AND_VALUE, key = "#tableName + #columnNames")
|
|
|
|
|
List<Map<String,Object>> findPkAndValue (String tableName, String columnNames);
|
|
|
|
|
|
|
|
|
|
//根据表名、字段名查询 注释
|
|
|
|
@ -40,7 +40,7 @@ public interface CoreDictDao extends BaseMapper<CoreDict> {
|
|
|
|
|
|
|
|
|
|
//动态表名、字段名查询并包装成coreDict实体
|
|
|
|
|
|
|
|
|
|
@Cacheable(value = DICT_CACHE_FIND_ALL_LIST_BY_TABLE, key = "#idName + #filedName + #tableCode + #tableName + #params", cacheManager = "cacheManager5Second")
|
|
|
|
|
@Cacheable(value = DICT_CACHE_FIND_ALL_LIST_BY_TABLE, key = "#idName + #filedName + #tableCode + #tableName + #params")
|
|
|
|
|
List<CoreDict> findALlListByTable (String idName,String filedName,String tableCode,String tableName,String[] params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|