This commit is contained in:
2024-09-12 22:06:12 +08:00
parent 77d2cfbc0c
commit 9b7369650d

View File

@@ -256,7 +256,7 @@ VALUES
this.clearCache();
}
@Cacheable(cacheNames = Constants.CACHE_PERMISSION)
@Cacheable(cacheNames = Constants.CACHE_PERMISSION, key = "'all'")
public List<PermissionDto> getAllFromCache() {
List<PermissionEntity> all = this.findAll();