Add Check

This commit is contained in:
skx
2020-12-18 21:04:08 +08:00
parent 034908e663
commit 235d74f4ba

View File

@@ -17,6 +17,10 @@ namespace SqlSugar
public static void RemoveCache(ICacheService cacheService, string tableName)
{
if (cacheService == null)
{
return;
}
var keys = cacheService.GetAllKey<string>();
if (keys.HasValue())
{