增加缓存AOP切面

This commit is contained in:
JINBO
2023-01-06 16:32:43 +08:00
parent 1ed37897d5
commit 898be6c733
11 changed files with 332 additions and 3 deletions

View File

@@ -92,6 +92,10 @@ namespace Yi.Framework.WebCore.AspNetCoreExtensions
{
//entityInfo.SetValue(new Guid(httpcontext.Request.Headers["TenantId"].ToString()));
}
if (entityInfo.PropertyName == "CreateTime")
{
entityInfo.SetValue(DateTime.Now);
}
break;
case DataFilterType.UpdateByObject:
if (entityInfo.PropertyName == "ModifyTime")