mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
v3.2.666-preview20220824
This commit is contained in:
@ -1292,7 +1292,7 @@ FROM ( SELECT max(a.`Id`) `TaskId`, max(a.`Type`) `TaskType`, a.`ProcessId`, a.`
|
||||
WHERE (a.`IsFinished` = 1 AND (a.`AuditorId` = '1' OR a.`AuditorId` = '1cb71584-a6dd-4b26-8c88-ed9fb8cf87a3'))
|
||||
GROUP BY a.`ProcessId`, a.`NodeId`, a.`NodeName` ) a
|
||||
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` = 1 OR a.`TaskType` = 3) AND b.`EnabledMark` = 1)", groupsql12);
|
||||
|
||||
var grouplist12 = g.mysql.Select<WF_TaskGroupBy, WF_ProcessInstance>()
|
||||
.AsTable((type, old) => type == typeof(WF_TaskGroupBy) ? $"( {sqltmp12} )" : null)
|
||||
|
Reference in New Issue
Block a user