mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 19:15:10 +08:00
Update exp to sql (Guid.New())
This commit is contained in:
parent
b49e940254
commit
187704bf7e
@ -13,6 +13,11 @@ namespace SqlSugar
|
||||
{
|
||||
private void ResloveOtherMUC(ExpressionParameter parameter, Expression item, string asName)
|
||||
{
|
||||
if (ExpressionTool.GetMethodName(item) == "NewGuid")
|
||||
{
|
||||
parameter.Context.Result.Append(this.Context.GetAsString2(asName, this.Context.DbMehtods.NewUid(null)));
|
||||
return;
|
||||
}
|
||||
this.Expression = item;
|
||||
this.Start();
|
||||
if (ExpressionTool.GetMethodName(item) == "MappingColumn")
|
||||
|
@ -44,7 +44,7 @@ namespace SqlSugar
|
||||
}
|
||||
else if (methodName == "NewGuid")
|
||||
{
|
||||
this.Context.Result.Append(this.Context.DbMehtods.GuidNew());
|
||||
this.Context.Result.Append(this.Context.DbMehtods.NewUid(null));
|
||||
return;
|
||||
}
|
||||
else if (methodName == "GetConfigValue")
|
||||
|
Loading…
Reference in New Issue
Block a user