mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 02:39:14 +08:00
BUG As(xx).ExecuteReturnPkList<long>()
This commit is contained in:
@@ -741,6 +741,7 @@ namespace SqlSugar
|
|||||||
foreach (var item in this.InsertObjs)
|
foreach (var item in this.InsertObjs)
|
||||||
{
|
{
|
||||||
var insertable = this.Context.Insertable(item)
|
var insertable = this.Context.Insertable(item)
|
||||||
|
.AS(this.InsertBuilder.AsName)
|
||||||
.InsertColumns(this.InsertBuilder.DbColumnInfoList.Select(it => it.DbColumnName).Distinct().ToArray());
|
.InsertColumns(this.InsertBuilder.DbColumnInfoList.Select(it => it.DbColumnName).Distinct().ToArray());
|
||||||
if (pkInfo.UnderType == UtilConstants.IntType)
|
if (pkInfo.UnderType == UtilConstants.IntType)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user