Code optimization

This commit is contained in:
SUNKAIXUAN 2021-03-01 17:14:13 +08:00
parent 5aee483727
commit 0c48819a68

View File

@ -1206,7 +1206,7 @@ namespace SqlSugar
}
private void Async()
{
if (this.Context.Root != null & this.Context.Root.AsyncId == null)
if (this.Context.Root != null && this.Context.Root.AsyncId == null)
{
this.Context.Root.AsyncId = Guid.NewGuid(); ;
}