- fix 1.5.0-preview0502 bug

This commit is contained in:
28810
2020-05-08 10:38:39 +08:00
parent d69db2a3b1
commit 03a94888a8
19 changed files with 31 additions and 41 deletions

View File

@ -19,7 +19,7 @@ namespace FreeSql.Dameng.Curd
if (_whereCascadeExpression.Any())
foreach (var tb in _tables.Where(a => a.Type != SelectTableInfoType.Parent))
tb.Cascade = _commonExpression.GetWhereCascadeSql(tb, _whereCascadeExpression);
tb.Cascade = _commonExpression.GetWhereCascadeSql(tb, _whereCascadeExpression, true);
var sb = new StringBuilder();
var tbUnionsGt0 = tbUnions.Count > 1;