Optimized code

This commit is contained in:
sunkaixuan 2023-09-20 13:54:31 +08:00
parent 4425164ef5
commit 4a46c5048a

View File

@ -75,7 +75,7 @@ namespace SqlSugar
var sql = Small(identities, groupListPasge, columnsString);
this.Context.Ado.ExecuteCommand(sql, this.Parameters);
});
if (identities != null & identities.Count > 0 && this.OracleSeqInfoList != null && this.OracleSeqInfoList.Any())
if (identities != null && identities.Count > 0 && this.OracleSeqInfoList != null && this.OracleSeqInfoList.Any())
{
return $"SELECT {this.OracleSeqInfoList.First().Value - 1} FROM DUAL";
}