Update exp to sql

This commit is contained in:
sunkaixuan
2022-11-11 12:52:28 +08:00
parent 9c715c8929
commit 61c3ad2a67

View File

@@ -1007,7 +1007,7 @@ namespace SqlSugar
case "Format":
var xx=base.BaseParameter;
var result = this.Context.DbMehtods.Format(model);
if (this.Context.MethodName.IsIn("RowNumber", "MappingColumn"))
if (!string.IsNullOrEmpty(this.Context.MethodName))
{
result = this.Context.DbMehtods.FormatRowNumber(model);
}