|
|
|
@ -332,6 +332,10 @@ public static class SqlSugarSetup
|
|
|
|
|
if (tenantId == null || tenantId == 0)
|
|
|
|
|
entityInfo.SetValue(App.User.FindFirst(ClaimConst.TENANT_ID)?.Value);
|
|
|
|
|
}
|
|
|
|
|
if (entityInfo.PropertyName == "TenantName")
|
|
|
|
|
{
|
|
|
|
|
entityInfo.SetValue(App.User.FindFirst(ClaimConst.CLAINM_TENANT_NAME)?.Value);
|
|
|
|
|
}
|
|
|
|
|
if (entityInfo.PropertyName == "CreatedUserId")
|
|
|
|
|
{
|
|
|
|
|
var createUserId = ((dynamic)entityInfo.EntityValue).CreatedUserId;
|
|
|
|
|