|
|
@@ -104,7 +104,7 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
RedissonUtils.putString(key, JSON.toJSONString(sysDictResDtos), Global.COMMON_EXPIRE);
|
|
|
return sysDictResDtos;
|
|
|
}
|
|
|
-
|
|
|
+ RedissonUtils.putString(key, dictCache, Global.COMMON_EXPIRE);
|
|
|
return JSONObject.parseArray(dictCache, SysDictResDto.class);
|
|
|
}
|
|
|
|
|
|
@@ -130,6 +130,7 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
RedissonUtils.putString(key, JSON.toJSONString(sysDictResDto), Global.COMMON_EXPIRE);
|
|
|
return sysDictResDto;
|
|
|
}
|
|
|
+ RedissonUtils.putString(key, dictCache, Global.COMMON_EXPIRE);
|
|
|
return JSONObject.parseObject(dictCache, SysDictResDto.class);
|
|
|
}
|
|
|
|
|
|
@@ -228,6 +229,7 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
RedissonUtils.putString(key, JSON.toJSONString(sysDictGroupResDto), Global.COMMON_EXPIRE);
|
|
|
return sysDictGroupResDto;
|
|
|
}
|
|
|
+ RedissonUtils.putString(key, dictCache, Global.COMMON_EXPIRE);
|
|
|
return JSONObject.parseObject(dictCache, SysDictGroupResDto.class);
|
|
|
}
|
|
|
|
|
|
@@ -261,7 +263,7 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
RedissonUtils.putString(key, JSON.toJSONString(entCacheResDto), Global.COMMON_EXPIRE);
|
|
|
return entCacheResDto;
|
|
|
}
|
|
|
-
|
|
|
+ RedissonUtils.putString(key, dictCache, Global.COMMON_EXPIRE);
|
|
|
return JSONObject.parseObject(dictCache, EntCacheResDto.class);
|
|
|
}
|
|
|
|
|
|
@@ -413,7 +415,7 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
RedissonUtils.putString(key, JSON.toJSONString(userCacheResDto), Global.COMMON_EXPIRE);
|
|
|
return userCacheResDto;
|
|
|
}
|
|
|
-
|
|
|
+ RedissonUtils.putString(key, dictCache, Global.COMMON_EXPIRE);
|
|
|
return JSONObject.parseObject(dictCache, UserCacheResDto.class);
|
|
|
}
|
|
|
|
|
|
@@ -456,6 +458,7 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
RedissonUtils.putString(key, JSON.toJSONString(sysAreaCacheResDto), Global.COMMON_EXPIRE);
|
|
|
return sysAreaCacheResDto;
|
|
|
}
|
|
|
+ RedissonUtils.putString(key, areaCache, Global.COMMON_EXPIRE);
|
|
|
return JSONObject.parseObject(areaCache, SysAreaCacheResDto.class);
|
|
|
}
|
|
|
|