mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
debug mysql tests
This commit is contained in:
parent
a92c279c72
commit
ea7a8609c8
@ -1050,7 +1050,7 @@ LEFT JOIN `WF_ProcessInstance` b ON b.`Id` = a.`ProcessId`
|
|||||||
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);
|
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);
|
||||||
|
|
||||||
var grouplist12 = g.mysql.Select<WF_TaskGroupBy, WF_ProcessInstance>()
|
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)
|
.LeftJoin((a, p) => p.Id == a.ProcessId)
|
||||||
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
|
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
|
||||||
.ToList((a, p) => new
|
.ToList((a, p) => new
|
||||||
|
@ -1061,7 +1061,7 @@ LEFT JOIN `WF_ProcessInstance` b ON b.`Id` = a.`ProcessId`
|
|||||||
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);
|
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);
|
||||||
|
|
||||||
var grouplist12 = g.mysql.Select<WF_TaskGroupBy, WF_ProcessInstance>()
|
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)
|
.LeftJoin((a, p) => p.Id == a.ProcessId)
|
||||||
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
|
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
|
||||||
.ToList((a, p) => new
|
.ToList((a, p) => new
|
||||||
|
@ -1109,7 +1109,7 @@ LEFT JOIN `WF_ProcessInstance` b ON b.`Id` = a.`ProcessId`
|
|||||||
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);
|
WHERE ((b.`IsFinished` OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);
|
||||||
|
|
||||||
var grouplist12 = g.mysql.Select<WF_TaskGroupBy, WF_ProcessInstance>()
|
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)
|
.LeftJoin((a, p) => p.Id == a.ProcessId)
|
||||||
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
|
.Where((a, p) => (p.IsFinished || a.TaskType == 3) && p.EnabledMark)
|
||||||
.ToList((a, p) => new
|
.ToList((a, p) => new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user