Skip to content

Commit

Permalink
debug mysql tests
Browse files Browse the repository at this point in the history
  • Loading branch information
28810 authored and 28810 committed Dec 23, 2019
1 parent a92c279 commit ea7a860
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ public void AsTable()
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);

var grouplist12 = g.mysql.Select<WF_TaskGroupBy, WF_ProcessInstance>()
.AsTable((type, old) => $"( {sqltmp12} )")
.AsTable((type, old) => type == typeof(WF_TaskGroupBy) ? $"( {sqltmp12} )" : null)
.LeftJoin((a, p) => p.Id == a.ProcessId)
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
.ToList((a, p) => new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ public void AsTable()
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);

var grouplist12 = g.mysql.Select<WF_TaskGroupBy, WF_ProcessInstance>()
.AsTable((type, old) => $"( {sqltmp12} )")
.AsTable((type, old) => type == typeof(WF_TaskGroupBy) ? $"( {sqltmp12} )" : null)
.LeftJoin((a, p) => p.Id == a.ProcessId)
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
.ToList((a, p) => new
Expand Down
2 changes: 1 addition & 1 deletion FreeSql.Tests/FreeSql.Tests/MySql/Curd/MySqlSelectTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ UNION ALL
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);

var grouplist12 = g.mysql.Select<WF_TaskGroupBy, WF_ProcessInstance>()
.AsTable((type, old) => $"( {sqltmp12} )")
.AsTable((type, old) => type == typeof(WF_TaskGroupBy) ? $"( {sqltmp12} )" : null)
.LeftJoin((a, p) => p.Id == a.ProcessId)
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
.ToList((a, p) => new
Expand Down

0 comments on commit ea7a860

Please sign in to comment.