- 修复 WithoutJson 和 HzyTuple t1...t3 的冲突问题;

This commit is contained in:
2881099
2025-12-13 19:27:49 +08:00
parent 5e1da75790
commit 963b1cc70b
31 changed files with 307 additions and 152 deletions

View File

@@ -40,7 +40,7 @@ namespace FreeSql.QuestDb.Curd
sb.Append(_select);
if (_distinct) sb.Append("DISTINCT ");
sb.Append(field).Append(" \r\nFROM ");
var tbsjoin = _tables.Where(a => a.Type != SelectTableInfoType.From && a.Type != SelectTableInfoType.Parent).ToArray();
var tbsjoin = _tables.Where(a => a.Type != SelectTableInfoType.From && a.Type != SelectTableInfoType.Parent && a.Type != SelectTableInfoType.WithoutJoin).ToArray();
var tbsfrom = _tables.Where(a => a.Type == SelectTableInfoType.From).ToArray();
for (var a = 0; a < tbsfrom.Length; a++)
{
@@ -87,6 +87,7 @@ namespace FreeSql.QuestDb.Curd
{
case SelectTableInfoType.Parent:
case SelectTableInfoType.RawJoin:
case SelectTableInfoType.WithoutJoin:
continue;
case SelectTableInfoType.LeftJoin:
sb.Append(" \r\nLEFT JOIN ");