mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:07:23 +08:00
Mapper BUG
This commit is contained in:
parent
6c360ffdc3
commit
c09e620678
@ -22,7 +22,7 @@ namespace SqlSugar
|
|||||||
public Result Get<Result>(Func<List<T>, Result> action)
|
public Result Get<Result>(Func<List<T>, Result> action)
|
||||||
{
|
{
|
||||||
GetIndex++;
|
GetIndex++;
|
||||||
string key = "Get" + GetIndex;
|
string key = "Get" +typeof(Result)+action.GetHashCode()+action.Method.Name;
|
||||||
if (caches.ContainsKey(key))
|
if (caches.ContainsKey(key))
|
||||||
{
|
{
|
||||||
return (Result)caches[key];
|
return (Result)caches[key];
|
||||||
|
Loading…
Reference in New Issue
Block a user