mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update Oracle Insertable
This commit is contained in:
@@ -87,7 +87,14 @@ namespace SqlSugar
|
||||
batchInsetrSql.AppendLine(") ");
|
||||
|
||||
}
|
||||
batchInsetrSql.AppendLine("SELECT 1 FROM DUAL");
|
||||
if (identities.HasValue())
|
||||
{
|
||||
batchInsetrSql.AppendLine("SELECT "+ (this.OracleSeqInfoList.First().Value-1) + " FROM DUAL");
|
||||
}
|
||||
else
|
||||
{
|
||||
batchInsetrSql.AppendLine("SELECT 1 FROM DUAL");
|
||||
}
|
||||
var result= batchInsetrSql.ToString();
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user