refactor: 分组添加 userId.

This commit is contained in:
lijiahang
2024-01-23 18:33:37 +08:00
parent ddd603c957
commit 914359505e
23 changed files with 305 additions and 99 deletions

View File

@@ -21,6 +21,8 @@ public interface Const extends com.orion.lang.constant.Const, FieldConst, CnCons
String INTRANET_IP = "内网IP";
Long SYSTEM_USER_ID = 0L;
Long ROOT_PARENT_ID = 0L;
Integer DEFAULT_SORT = 10;

View File

@@ -581,6 +581,18 @@ public class RedisMaps extends RedisUtils {
return valuesJson(key.getKey(), (Class<V>) key.getType());
}
/**
* 获取所有值 json
*
* @param key key
* @param define define
* @param <V> V
* @return values
*/
public static <V> List<V> valuesJson(String key, CacheKeyDefine define) {
return valuesJson(key, (Class<V>) define.getType());
}
/**
* 获取所有值 json
*