- 增加 单条 WhereItems + GenerateCommandParameterWithLambda 参数化;

This commit is contained in:
2881099
2024-07-28 13:16:10 +08:00
parent d8965d5749
commit c0bb06e3ff
7 changed files with 45 additions and 28 deletions

View File

@@ -581,7 +581,7 @@ namespace FreeSql.Extensions.ZeroEntity
{
var alias = _tableAlias.Where(a => a.Table == _tables[_mainTableIndex]).FirstOrDefault()?.Alias;
if (!string.IsNullOrWhiteSpace(alias)) alias = $"{alias}.";
var where = _common.WhereItems(_tables[_mainTableIndex].Primarys, alias, items);
var where = _common.WhereItems(_tables[_mainTableIndex].Primarys, alias, items, _selectProvider._params);
_select.Where(where);
return this;
}