mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
1.Oracle "And And" BUG
2.WhereColumns BUG
This commit is contained in:
@@ -117,7 +117,7 @@ namespace SqlSugar
|
||||
if (this.WhereColumnList == null) this.WhereColumnList = new List<string>();
|
||||
foreach (var item in whereColumns)
|
||||
{
|
||||
this.WhereColumnList.Add(this.Context.EntityMaintenance.GetDbColumnName<T>(item));
|
||||
this.WhereColumnList.Add(item);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@@ -25,7 +25,7 @@ namespace SqlSugar
|
||||
whereString += GetOracleUpdateColums(item);
|
||||
whereList.Add(whereString);
|
||||
}
|
||||
return string.Format("{0} {1} WHERE {2};", updateTable, setValues, string.Join("AND",whereList));
|
||||
return string.Format("{0} {1} WHERE {2};", updateTable, setValues, string.Join("",whereList));
|
||||
}).ToArray()));
|
||||
sb.AppendLine("End;");
|
||||
return sb.ToString();
|
||||
|
Reference in New Issue
Block a user