Update oracle

This commit is contained in:
sunkaixuan
2022-12-22 12:03:46 +08:00
parent 584d67bc3d
commit feee5a904b

View File

@@ -10,6 +10,10 @@ namespace SqlSugar
{ {
protected override string TomultipleSqlString(List<IGrouping<int, DbColumnInfo>> groupList) protected override string TomultipleSqlString(List<IGrouping<int, DbColumnInfo>> groupList)
{ {
if (groupList.Count == 0)
{
return " select 0 from dual";
}
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.AppendLine("Begin"); sb.AppendLine("Begin");
sb.AppendLine(string.Join("\r\n", groupList.Select(t => sb.AppendLine(string.Join("\r\n", groupList.Select(t =>