项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseRepository/RepositoryBase.cs
@@ -243,6 +243,7 @@ } public virtual TEntity QueryFirst(Expression<Func<TEntity, bool>> whereExpression) { return _db.CopyNew().Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).First(); }