Update XuguInsertBuilder.cs

This commit is contained in:
yinchenjue 2025-03-23 18:12:32 +08:00 committed by GitHub
parent 31508c89ee
commit 52bb34cc73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ namespace SqlSugar.Xugu
return @"INSERT INTO {0}
({1})
VALUES
({2}) RETURNING $PrimaryKey未实现返回主键 " + UtilConstants.ReplaceCommaKey.Replace("{", "").Replace("}", "");
({2});SELECT LAST_INSERT_ID(); " + UtilConstants.ReplaceCommaKey.Replace("{", "").Replace("}", "");
}
else
{